]> git.baikalelectronics.ru Git - kernel.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)
commit818a97b88d50e1ac3d77504997d1898ea1a57a31
tree13e4d4af7b62182285dff8773cf12df4fe675aa0
parent041475e4c4de34587bcaf76e85adc7238a1b2115
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