drm/i915: Disable planes more atomically during modesets
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Mar 2024 08:47:29 +0000 (10:47 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 8 Mar 2024 06:53:17 +0000 (08:53 +0200)
commit4bc6745df2dbc315dc5a29a8b79020a74bd8fdd9
tree6f16a8cfd4593d7ca573338b9169cf851c6835d7
parent5efb03ce90cc2fba3920de8fa0f04bed0476abeb
drm/i915: Disable planes more atomically during modesets

Follow in the footsteps of commit c610e841f19d ("drm/i915:
Do plane/etc. updates more atomically across pipes") and
do the plane disables back to back for all pipes also when
we are disabling pipes.

This should provide for a potentially more atomic user
experience, which might be especially nice when using
joiner or tiled displays.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240305084730.19182-3-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
drivers/gpu/drm/i915/display/intel_display.c