linux/drivers/gpu/drm/amd
Leo (Sunpeng) Li b674f1edc9 drm/amd/display: Change frontend/backend programming sequence
This is a follow-up to the following change:

Yongqiang Sun: Program front end first when set mode.

Due to pipe-splitting features, how we handle stream enabling and
disabling needs to change.

In the case of pipe split disable, two planes need to be combined back
into the same stream. This needs to be done before any stream
programming happens.

The previous patch addresses this, but breaks cross-platform
compatibility. It's not guaranteed that a dc commit will be called
separately to program planes and streams.

Therefore, we handle the combined commit case by doing plane programming
both before and after stream programming, to handle pipe split disable
and plane enable respectively.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@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-12-06 12:47:40 -05:00
..
acp
amdgpu drm/amdgpu/virt: remove redundant variable pf2vf_ver 2017-12-06 12:47:23 -05:00
amdkfd Merge tag 'drm-amdkfd-fixes-2017-11-26' of git://people.freedesktop.org/~gabbayo/linux into drm-fixes 2017-12-01 09:14:46 +10:00
display drm/amd/display: Change frontend/backend programming sequence 2017-12-06 12:47:40 -05:00
include drm/amdgpu: add new pp function point notify_smu_memory_info 2017-12-04 16:33:18 -05:00
lib drm/amd/chash: Fix typo 2017-09-28 16:03:29 -04:00
powerplay drm/amd/pp: delete an outdated comment in amd_powerplay.c 2017-12-04 16:33:19 -05:00
scheduler drm/amd/scheduler: add WARN_ON for s_fence->parent 2017-12-06 12:47:18 -05:00