diff options
author | Alvin Lee <Alvin.Lee2@amd.com> | 2022-12-07 20:19:49 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-03 16:57:44 -0500 |
commit | a5b50a0cbf6fa201a6480832986b3ca4817e0568 (patch) | |
tree | 5c17727dfef6e270e83c3e0285461aa2b2859de0 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | cbd8f20b4833f90ee5721e7f1f3a65cd93c622d8 (diff) | |
download | linux-a5b50a0cbf6fa201a6480832986b3ca4817e0568.tar.gz linux-a5b50a0cbf6fa201a6480832986b3ca4817e0568.tar.bz2 linux-a5b50a0cbf6fa201a6480832986b3ca4817e0568.zip |
drm/amd/display: Turn on phantom OTG before disabling phantom pipe
[Description]
- Proper phantom pipe disable sequence was missing in
commit_planes_for_stream
- If disabling phantom pipe, turn on phantom OTG first, and turn
off the phantom OTG after the plane is disabled
- Also update sequence for enabling / disabling phantom streams
(apply_ctx_to_hw). When enabling phantom pipes, enable before
doing front end programming for phantom pipes. If disabling
phantom pipes, disable after front end programming (i.e. after
phantom plane disable)
- TODO: Still need to properly handle transition case when a phantom
pipe is transitioned directly into a real pipe (need to fully disable
the phantom pipe first)
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions