Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent f4b7fb94
Loading
Loading
Loading
Loading
+13 −11
Original line number Diff line number Diff line
@@ -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->vram_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 */
		rdev->pm.gui_idle = false;
		rdev->irq.gui_idle = true;
@@ -74,7 +76,7 @@ static void radeon_pm_set_clocks(struct radeon_device *rdev, int static_switch)
			msecs_to_jiffies(RADEON_WAIT_IDLE_TIMEOUT));
		rdev->irq.gui_idle = false;
		radeon_irq_set(rdev);
#endif
	}
	radeon_unmap_vram_bos(rdev);

	if (!static_switch) {