]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit795b566e247692a08565c35ecb74b50e971cc21a
tree3f9a96bb620454d6350c0674f3aa9dc82ee7458b
parent8e0616063208ce62f7153823fd1e5bc605dde61d
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