mbox series

[0/3] drm/i915: Make crtc disable more atomic

Message ID 20240305084730.19182-1-ville.syrjala@linux.intel.com (mailing list archive)
Headers show
Series drm/i915: Make crtc disable more atomic | expand

Message

Ville Syrjälä March 5, 2024, 8:47 a.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Make the crtc disable more atomic (in terms of plane disable).

And also also track which pipes need disabling in the same way
as skl_commit_modeset_enables(), which should make the whole
thing bit less messy as we don't have to keep on checking the
same conditions multiple times.

Ville Syrjälä (3):
  drm/i915: Precompute disable_pipes bitmask in
    intel_commit_modeset_disables()
  drm/i915: Disable planes more atomically during modesets
  drm/i915: Simplify intel_old_crtc_state_disables() calling convention

 drivers/gpu/drm/i915/display/intel_display.c | 48 +++++++++++---------
 1 file changed, 27 insertions(+), 21 deletions(-)

Comments

Ville Syrjälä March 8, 2024, 6:58 a.m. UTC | #1
On Tue, Mar 05, 2024 at 10:47:27AM +0200, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> Make the crtc disable more atomic (in terms of plane disable).
> 
> And also also track which pipes need disabling in the same way
> as skl_commit_modeset_enables(), which should make the whole
> thing bit less messy as we don't have to keep on checking the
> same conditions multiple times.
> 
> Ville Syrjälä (3):
>   drm/i915: Precompute disable_pipes bitmask in
>     intel_commit_modeset_disables()
>   drm/i915: Disable planes more atomically during modesets
>   drm/i915: Simplify intel_old_crtc_state_disables() calling convention

Pushed to drm-intel-next, with Stan's r-b's hoovered in from the
earlier posting: https://patchwork.freedesktop.org/series/130619/

> 
>  drivers/gpu/drm/i915/display/intel_display.c | 48 +++++++++++---------
>  1 file changed, 27 insertions(+), 21 deletions(-)
> 
> -- 
> 2.43.0