diff options
author | 2023-02-08 13:25:49 -0500 | |
---|---|---|
committer | 2023-02-09 10:01:49 -0500 | |
commit | 4936458bf989d168f5a89015dd81067c4c2bdc64 (patch) | |
tree | 322e339c213b3059a1a1abf0a4d809c7d3ab55a9 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | drm/amdgpu/smu: skip pptable init under sriov (diff) | |
download | wireguard-linux-4936458bf989d168f5a89015dd81067c4c2bdc64.tar.xz wireguard-linux-4936458bf989d168f5a89015dd81067c4c2bdc64.zip |
drm/amd/display: don't call dc_interrupt_set() for disabled crtcs
As made mention of in commit 4ea7fc09539b ("drm/amd/display: Do not
program interrupt status on disabled crtc"), we shouldn't program
disabled crtcs. So, filter out disabled crtcs in dm_set_vupdate_irq()
and dm_set_vblank().
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Fixes: 589d2739332d ("drm/amd/display: Use crtc enable/disable_vblank hooks")
Fixes: d2574c33bb71 ("drm/amd/display: In VRR mode, do DRM core vblank handling at end of vblank. (v2)")
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions