r100.c (01b944fe1cd4e21a2a9ed51adbdbafe2d5e905ba) r100.c (cb5d41664375ad4fbe47bdae745bb6fe8d837e68)
1/*
2 * Copyright 2008 Advanced Micro Devices, Inc.
3 * Copyright 2008 Red Hat Inc.
4 * Copyright 2009 Jerome Glisse.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation

--- 792 unchanged lines hidden (view full) ---

801 }
802 if (status & RADEON_FP2_DETECT_STAT) {
803 queue_hotplug = true;
804 DRM_DEBUG("HPD2\n");
805 }
806 status = r100_irq_ack(rdev);
807 }
808 if (queue_hotplug)
1/*
2 * Copyright 2008 Advanced Micro Devices, Inc.
3 * Copyright 2008 Red Hat Inc.
4 * Copyright 2009 Jerome Glisse.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation

--- 792 unchanged lines hidden (view full) ---

801 }
802 if (status & RADEON_FP2_DETECT_STAT) {
803 queue_hotplug = true;
804 DRM_DEBUG("HPD2\n");
805 }
806 status = r100_irq_ack(rdev);
807 }
808 if (queue_hotplug)
809 schedule_work(&rdev->hotplug_work);
809 schedule_delayed_work(&rdev->hotplug_work, 0);
810 if (rdev->msi_enabled) {
811 switch (rdev->family) {
812 case CHIP_RS400:
813 case CHIP_RS480:
814 msi_rearm = RREG32(RADEON_AIC_CNTL) & ~RS400_MSI_REARM;
815 WREG32(RADEON_AIC_CNTL, msi_rearm);
816 WREG32(RADEON_AIC_CNTL, msi_rearm | RS400_MSI_REARM);
817 break;

--- 3316 unchanged lines hidden ---
810 if (rdev->msi_enabled) {
811 switch (rdev->family) {
812 case CHIP_RS400:
813 case CHIP_RS480:
814 msi_rearm = RREG32(RADEON_AIC_CNTL) & ~RS400_MSI_REARM;
815 WREG32(RADEON_AIC_CNTL, msi_rearm);
816 WREG32(RADEON_AIC_CNTL, msi_rearm | RS400_MSI_REARM);
817 break;

--- 3316 unchanged lines hidden ---