Commit 4f3218cb authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

drm/radeon/kms: re-enable gui idle interrupts on r6xx+

Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f4b7fb94
...@@ -64,7 +64,9 @@ static void radeon_pm_set_clocks(struct radeon_device *rdev, int static_switch) ...@@ -64,7 +64,9 @@ static void radeon_pm_set_clocks(struct radeon_device *rdev, int static_switch)
mutex_lock(&rdev->ddev->struct_mutex); mutex_lock(&rdev->ddev->struct_mutex);
mutex_lock(&rdev->vram_mutex); mutex_lock(&rdev->vram_mutex);
mutex_lock(&rdev->cp.mutex); mutex_lock(&rdev->cp.mutex);
#if 0
/* gui idle int has issues on older chips it seems */
if (rdev->family >= CHIP_R600) {
/* wait for GPU idle */ /* wait for GPU idle */
rdev->pm.gui_idle = false; rdev->pm.gui_idle = false;
rdev->irq.gui_idle = true; rdev->irq.gui_idle = true;
...@@ -74,7 +76,7 @@ static void radeon_pm_set_clocks(struct radeon_device *rdev, int static_switch) ...@@ -74,7 +76,7 @@ static void radeon_pm_set_clocks(struct radeon_device *rdev, int static_switch)
msecs_to_jiffies(RADEON_WAIT_IDLE_TIMEOUT)); msecs_to_jiffies(RADEON_WAIT_IDLE_TIMEOUT));
rdev->irq.gui_idle = false; rdev->irq.gui_idle = false;
radeon_irq_set(rdev); radeon_irq_set(rdev);
#endif }
radeon_unmap_vram_bos(rdev); radeon_unmap_vram_bos(rdev);
if (!static_switch) { if (!static_switch) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment