1 change: 0 additions & 1 deletion1drivers/gpu/drm/drm_atomic.c Original file line numberDiff line numberDiff line change Expand Up@@ -722,7 +722,6 @@ static void drm_atomic_plane_print_state(struct drm_printer *p, drm_printf(p,"plane[%u]: %s\n",plane->base.id,plane->name); ...
+++ b/drivers/gpu/drm/i915/display/intel_display.c @@ -4033,11 +4033,12 @@ static int icl_add_linked_planes(struct intel_atomic_state *state) return 0; } -static int icl_check_nv12_planes(struct intel_crtc_state *crtc_state) +static int icl_check_nv12_planes(struct intel_atomic_s...
@@ -1610,7 +1622,8 @@ static void commit_tail(struct drm_atomic_state *old_state) commit_time_ms = ktime_ms_delta(ktime_get(), start); if (commit_time_ms > 0) drm_self_refresh_helper_update_avg_times(old_state, (unsigned long)commit_time_ms); ...
> > - struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); > > - struct intel_atomic_state *state = > > to_intel_atomic_state(crtc_state->uapi.state); > > + struct drm_i915_private *dev_priv = to_i915(state->base.dev); > > + struct intel_crtc_state *crtc_...
…) call Old and new state parameters are swapped, so the old state was cleared instead of the new duplicated state. Fixes: 9036745 ("drm/atomic-helper: Add format-conversion state to shadow-plane state") Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Tested-by: Leonard Göhrs <...
drm_atomic_helper_cleanup_planes(dev, state); drm_atomic_helper_unprepare_planes(dev, state); return 0; } @@ -2072,7 +2072,7 @@ int drm_atomic_helper_commit(struct drm_device *dev, return 0; err: drm_atomic_helper_cleanup_planes(dev, state); drm_atomic_helper_unprepare_planes(dev,...
> +++ b/drivers/gpu/drm/i915/display/intel_display.c > @@ -4033,11 +4033,12 @@ static int icl_add_linked_planes(struct > intel_atomic_state *state) > return 0; > } > > -static int icl_check_nv12_planes(struct intel_crtc_state *crtc_state) ...