drm/i915: Fix redefinition of sanitize_watermarks_add_affected
Subsystems (3)
PATCH 1/1 drm/i915: Fix redefinition of sanitize_watermarks_add_affected
Commit 44a67719497b ("drm/i915: Fix modeset locks in sanitize_watermarks()") that added this function is correctly, this issue was introduced when resolving the merge conflict.
--- drivers/gpu/drm/i915/display/intel_display.c | 24 -------------------- 1 file changed, 24 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +0 -24
@@ -17688,30 +17688,6 @@ static int sanitize_watermarks_add_affected(struct drm_atomic_state *state)return 0 ; } -static int sanitize_watermarks_add_affected (struct drm_atomic_state *state) -{ -struct drm_plane *plane; -struct drm_crtc *crtc; - -drm_for_each_crtc (crtc, state->dev) { -struct drm_crtc_state *crtc_state; - - crtc_state =drm_atomic_get_crtc_state (state, crtc); -if (IS_ERR (crtc_state)) -return PTR_ERR (crtc_state); - } - -drm_for_each_plane (plane, state->dev) { -struct drm_plane_state *plane_state; - - plane_state =drm_atomic_get_plane_state (state, plane); -if (IS_ERR (plane_state)) -return PTR_ERR (plane_state); - } - -return 0 ; -} -/* * Calculate what we think the watermarks should be for the state we've read * out of the hardware and then immediately program those watermarks so that
Signature · 6 lines
2.25.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Fix redefinition of sanitize_watermarks_add_affected
== Series Details ==
== Series Details ==
Series: drm/i915: Fix redefinition of sanitize_watermarks_add_affected
URL : https://patchwork.freedesktop.org/series/73065/
State : failure
== Summary ==
Applying: drm/i915: Fix redefinition of sanitize_watermarks_add_affected Using index info to reconstruct a base tree...
M drivers/gpu/drm/i915/display/intel_display.c
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 3 lines · José Roberto de Souza
Commit
44a67719497b("drm/i915: Fix modeset locks insanitize_watermarks()") that added this function is correctly, this issue was introduced when resolving the merge conflict.
It was a silent conflict in drm-tip rebuild. Chris fixed it with a fixup patch in drm-rerere. bc1bdfd57a19 ("2020y-02m-06d-01h-52m-12s UTC:
drm-tip rerere cache update").
BR,
Jani.
Quoted 43 lines
Fixes 9c654e423507 ("Merge remote-tracking branch'drm-intel/drm-intel-next-queued' into drm-tip") Cc: Jani Nikula <[email protected]> Cc: Rodrigo Vivi <[email protected]>
Signed-off-by José Roberto de Souza <[email protected]> ---
drivers/gpu/drm/i915/display/intel_display.c| 24 --------------------1 file changed, 24 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +0
-24@@ -17688,30 +17688,6 @@ static int sanitize_watermarks_add_affected(struct drm_atomic_state *state)return 0 ; } -static int sanitize_watermarks_add_affected (struct drm_atomic_state *state) -{ -struct drm_plane *plane; -struct drm_crtc *crtc; - -drm_for_each_crtc (crtc, state->dev) { -struct drm_crtc_state *crtc_state; - - crtc_state =drm_atomic_get_crtc_state (state, crtc); -if (IS_ERR (crtc_state)) -return PTR_ERR (crtc_state); - } - -drm_for_each_plane (plane, state->dev) { -struct drm_plane_state *plane_state; - - plane_state =drm_atomic_get_plane_state (state, plane); -if (IS_ERR (plane_state)) -return PTR_ERR (plane_state); - } - -return 0 ; -} -/* * Calculate what we think the watermarks should be for the state we've read * out of the hardware and then immediately program those watermarks so that
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx