OSDN Git Service

drm/amd/display: Add vupdate interrupt sources to NV10
authorhersen wu <hersenxs.wu@amd.com>
Wed, 10 Apr 2019 19:17:40 +0000 (15:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:10 +0000 (09:34 -0500)
commitb37727fb148612ca11568a8c83c143e1d991571c
tree3f9a96bb620454d6350c0674f3aa9dc82ee7458b
parentc92b4c46c164fbc05b72543b76222b8468f9fad3
drm/amd/display: Add vupdate interrupt sources to NV10

[WHY] linux upstream already has interrupt vupdate for freesync
in dcn10. dcn20 interrupt shares the same source code as dcn10.
but dcn20 interrupt translator does not add vupdate interrupt.
this cause index of vupdate aarray be negative which causes
crash.

[HOW] add vupdate into dc interrupt transltor

Signed-off-by: hersen wu <hersenxs.wu@amd.com>
Reviewed-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