OSDN Git Service

drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Fri, 5 Feb 2021 19:15:11 +0000 (14:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Feb 2021 23:20:49 +0000 (18:20 -0500)
commit688f97ed3f5e339c0c2c09d9ee7ff23d5807b0a7
treeae0c457a9d22da08986b173779a97f60b75c870e
parentefc8278eecfd5e6fa36c5d41e71d038f534fe107
drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1

When run igt@kms_vrr in a device that uses DCN2.1 architecture, we
noticed multiple failures. Furthermore, when we tested a VRR demo, we
noticed a system hang where the mouse pointer still works, but the
entire system freezes; in this case, we don't see any dmesg warning or
failure messages kernel. This happens due to a lack of vupdate_no_lock
interrupt, making the userspace wait eternally to get the event back.
For fixing this issue, we need to add the vupdate_no_lock interrupt in
the interrupt list.

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/irq/dcn21/irq_service_dcn21.c