linux_dsm_epyc7002/drivers/gpu/drm/amd
Leo Li 3a2ce8d66a drm/amd/display: Disable VUpdate interrupt for DCN hardware
[Why]

On DCN hardware, the crtc_high_irq handler makes vupdate_high_irq
handler redundant.

All the vupdate handler does is handle vblank events, and update vrr
for DCE hw (excluding VEGA, more on that later). As far as usermode is
concerned. vstartup happens close enough to vupdate on DCN that it can
be considered the "same". Handling vblank and updating vrr at vstartup
effectively replaces vupdate on DCN.

Vega is a bit special. Like DCN, the VRR registers on Vega are
double-buffered, and swapped at vupdate. But Unlike DCN, it lacks a
vstartup interrupt. This means we can't quite remove the vupdate handler
for it, since delayed user events due to vrr are sent off there.

[How]

Remove registration of vupdate interrupt handler for DCN. Disable
vupdate interrupt if asic family DCN, enable otherwise.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-13 15:29:44 -05:00
..
acp
amdgpu drm/amdgpu: Add DMCUB to firmware query interface 2019-11-13 15:29:42 -05:00
amdkfd Merge tag 'drm-next-5.5-2019-11-01' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-11-04 10:22:53 +10:00
display drm/amd/display: Disable VUpdate interrupt for DCN hardware 2019-11-13 15:29:44 -05:00
include drm/amd/powerplay: support xgmi pstate setting on powerplay routine V2 2019-11-06 16:27:46 -05:00
powerplay drm/amd/powerplay: read pcie speed/width info (v2) 2019-11-13 15:29:42 -05:00