]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: Register VUPDATE_NO_LOCK interrupts for DCN2
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 25 Jul 2019 15:53:16 +0000 (11:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Aug 2019 15:56:25 +0000 (10:56 -0500)
commite40837afb9b011757e17e9f71d97853ca574bcff
tree13e4d4af7b62182285dff8773cf12df4fe675aa0
parent544618596fd58848f5f881e265a09320e91f2e97
drm/amd/display: Register VUPDATE_NO_LOCK interrupts for DCN2

[Why]
These are needed to send back DRM vblank events in the case where VRR
is on. Without the interrupt enabled we're deferring the events into the
vblank queue and userspace is left waiting forever to get back the
events they need.

Found using igt@kms_vrr - the test fails immediately due to vblank
timeout.

[How]
Register them the same way we're handling it for DCN1.

This fixes igt@kms_vrr for DCN2.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: David Francis <David.Francis@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/irq/dcn20/irq_service_dcn20.c