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

Commit ddbb5313 authored by Emily Deng's avatar Emily Deng Committed by Alex Deucher
Browse files

drm/amdgpu/virtual_dce: Virtual display doesn't support disable vblank immediately



For virtual display, it uses software timer to emulate the vsync interrupt,
it doesn't have high precision, so doesn't support disable vblank immediately.

BUG: SWDEV-129274

Signed-off-by: default avatarEmily Deng <Emily.Deng@amd.com>
Reviewed-by: default avatarMichel Dänzer <michel.daenzer@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 38a8791a
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -221,6 +221,7 @@ int amdgpu_irq_init(struct amdgpu_device *adev)


	spin_lock_init(&adev->irq.lock);
	spin_lock_init(&adev->irq.lock);


	if (!adev->enable_virtual_display)
		/* Disable vblank irqs aggressively for power-saving */
		/* Disable vblank irqs aggressively for power-saving */
		adev->ddev->vblank_disable_immediate = true;
		adev->ddev->vblank_disable_immediate = true;