Skip to content
Commit d95c2566 authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915: Properly clear crtc state when disabling it fully, again



Currently we just leave the old gunk lying around in the crtc
state when userspace asks us to fully disable the crtc. That
doesn't match what the state would be had we never even enabled
the crtc in the first place. So let's make this consistent and
call intel_crtc_prepare_cleared_state() for disabled crtcs as well
(excluding bigjoiner slaves of course which have had their state
copied from the master).

I actually already did this once in commit fff13e63 ("drm/i915:
Clear most of crtc state when disabling the crtc") but then
commit 19f65a3d ("drm/i915: Try to make bigjoiner work in atomic
check") undid it all :(

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220217103221.10405-5-ville.syrjala@linux.intel.com


Reviewed-by: default avatarManasi Navare <manasi.d.navare@intel.com>
parent 7d700768
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment