mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 11:02:31 -04:00
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: David Francis <David.Francis@amd.com> Reviewed-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
69338c1f4e
commit
cfdb60f767
@@ -4673,7 +4673,6 @@ static void amdgpu_dm_do_flip(struct drm_crtc *crtc,
|
||||
1,
|
||||
acrtc_state->stream,
|
||||
&stream_update,
|
||||
&surface_updates->surface,
|
||||
state);
|
||||
mutex_unlock(&adev->dm.dc_lock);
|
||||
|
||||
@@ -4772,7 +4771,7 @@ static bool commit_planes_to_stream(
|
||||
dc,
|
||||
updates,
|
||||
new_plane_count,
|
||||
dc_stream, stream_update, plane_states, state);
|
||||
dc_stream, stream_update, state);
|
||||
mutex_unlock(&dm->dc_lock);
|
||||
|
||||
kfree(flip_addr);
|
||||
|
||||
Reference in New Issue
Block a user