linux_dsm_epyc7002/drivers/gpu/drm/amd
Nicholas Kazlauskas f6ff2a08f4 drm/amd/display: Maintain z-ordering when creating planes
[Why]
The overlay will be incorrectly placed *below* the primary plane for
commits with state->allow_modeset = true because the primary plane
won't be removed and recreated in the same commit.

[How]
Add the should_reset_plane helper to determine if the plane should be
reset or not. If we need to add or force reset any plane in the context
then we'll need to do the same for every plane on the stream.

Unfortunately we need to do the remove / recreate routine for removing
planes as well since DC currently isn't well equipped to handle the
plane with the top pipe being removed with other planes still active.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Sun peng Li <Sunpeng.Li@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-04-15 00:20:49 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Set proper function to set xgmi pstate 2019-04-12 11:29:46 -05:00
amdkfd Revert "drm/amdkfd: avoid HMM change cause circular lock" 2019-03-28 10:15:49 -05:00
display drm/amd/display: Maintain z-ordering when creating planes 2019-04-15 00:20:49 -05:00
include drm/amdgpu: remove chash 2019-03-19 15:36:58 -05:00
powerplay drm/powerplay: Add smu set xgmi pstate interface 2019-04-12 11:29:28 -05:00