drm/amd/display: don't call dc_interrupt_set() for disabled crtcs
[ Upstream commit
6404c18c7e8ea0f193586bd9615049b2217b2d7a ]
As made mention of in commit
ef0d1a47bd2b ("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: ecb9cafc313f ("drm/amd/display: Use crtc enable/disable_vblank hooks")
Fixes: 5ad0aea9013b ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>