linux_dsm_epyc7002/drivers/gpu/drm/amd
Andrew Jiang abb4986eea drm/amd/display: Fix up plane_states add/remove logic
Our plane_states array trimming logic was faulty, we should be starting
to shuffle from the plane that was just released, not from the very
beginning of the array.

Also get rid of a leftover line that was setting the plane state at the
stream index to null, leading to issues. Also move the
dc_plane_state_retain call to where we reference plane_state, in case we
do hit the error case where we can't get a free pipe.

Signed-off-by: Andrew Jiang <Andrew.Jiang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-10-21 16:48:40 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu Merge remote-tracking branch 'pfdo/drm-next' into drm-next 2017-10-17 10:53:43 +10:00
amdkfd Linux 4.14-rc3 2017-10-03 09:35:04 +10:00
display drm/amd/display: Fix up plane_states add/remove logic 2017-10-21 16:48:40 -04:00
include Merge branch 'drm-next-4.15-dc' of git://people.freedesktop.org/~agd5f/linux into drm-next 2017-10-09 11:21:15 +10:00
lib drm/amd/chash: Fix typo 2017-09-28 16:03:29 -04:00
powerplay drm/amd/powerplay: fix mclk can't switch on Tonga 2017-10-06 17:43:51 -04:00
scheduler drm/amd/sched: fix deadlock caused by unsignaled fences of deleted jobs 2017-10-06 17:44:32 -04:00