This is the first part of me going through and cleaning up the IRQ handling code for radeon, since after taking a look at it the other day while trying to debug something I realized basically all of the code was copy pasted everywhere, and quite difficult to actually read through. Will come up with something for r600 and cik once I've got the chipsets on hand to test with. Lyude (3): drm/radeon: Cleanup display interrupt handling for evergreen, si drm/radeon: Cleanup HDMI audio interrupt handling for evergreen drm/radeon: Cleanup pageflipping IRQ handling for evergreen, si drivers/gpu/drm/radeon/evergreen.c | 915 +++++--------------------------- drivers/gpu/drm/radeon/evergreend.h | 74 +-- drivers/gpu/drm/radeon/radeon.h | 27 +- drivers/gpu/drm/radeon/radeon_irq_kms.c | 35 ++ drivers/gpu/drm/radeon/si.c | 627 ++++------------------ drivers/gpu/drm/radeon/sid.h | 72 +-- 6 files changed, 328 insertions(+), 1422 deletions(-) -- 2.9.4