Commit cfdb60f7 authored by David Francis's avatar David Francis Committed by Alex Deucher

drm/amd/display: Remove unused parameter plane_states

[Why]
The function dc_commit_updates_for_stream had a parameter called
plane_states.  It was never used.  It was getting in the way
of some cleanup work

[How]
Remove it
Signed-off-by: default avatarDavid Francis <David.Francis@amd.com>
Reviewed-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 69338c1f
...@@ -4673,7 +4673,6 @@ static void amdgpu_dm_do_flip(struct drm_crtc *crtc, ...@@ -4673,7 +4673,6 @@ static void amdgpu_dm_do_flip(struct drm_crtc *crtc,
1, 1,
acrtc_state->stream, acrtc_state->stream,
&stream_update, &stream_update,
&surface_updates->surface,
state); state);
mutex_unlock(&adev->dm.dc_lock); mutex_unlock(&adev->dm.dc_lock);
...@@ -4772,7 +4771,7 @@ static bool commit_planes_to_stream( ...@@ -4772,7 +4771,7 @@ static bool commit_planes_to_stream(
dc, dc,
updates, updates,
new_plane_count, new_plane_count,
dc_stream, stream_update, plane_states, state); dc_stream, stream_update, state);
mutex_unlock(&dm->dc_lock); mutex_unlock(&dm->dc_lock);
kfree(flip_addr); kfree(flip_addr);
......
...@@ -1620,7 +1620,6 @@ void dc_commit_updates_for_stream(struct dc *dc, ...@@ -1620,7 +1620,6 @@ void dc_commit_updates_for_stream(struct dc *dc,
int surface_count, int surface_count,
struct dc_stream_state *stream, struct dc_stream_state *stream,
struct dc_stream_update *stream_update, struct dc_stream_update *stream_update,
struct dc_plane_state **plane_states,
struct dc_state *state) struct dc_state *state)
{ {
const struct dc_stream_status *stream_status; const struct dc_stream_status *stream_status;
......
...@@ -180,7 +180,6 @@ void dc_commit_updates_for_stream(struct dc *dc, ...@@ -180,7 +180,6 @@ void dc_commit_updates_for_stream(struct dc *dc,
int surface_count, int surface_count,
struct dc_stream_state *stream, struct dc_stream_state *stream,
struct dc_stream_update *stream_update, struct dc_stream_update *stream_update,
struct dc_plane_state **plane_states,
struct dc_state *state); struct dc_state *state);
/* /*
* Log the current stream state. * Log the current stream state.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment