linux/drivers/gpu/drm/amd
Wenjing Liu c50c9c872e drm/amd/display: use correct phantom pipe when populating subvp pipe info
[why]
In current code, we recognize a pipe as a phantom pipe if it references
the same phantom stream. However it can also a phantom split pipe.
If the phantom split pipe has a smaller pipe index than the phantom pipe
we will mistakenly use the phantom split pipe as the phantom pipe. This
causes an incorrect subvp configuration where the first half of the
screen is flashing solid white image.

[how]
Add additional check that the pipe needs to be an OTG master pipe.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-01-29 15:45:53 -05:00
..
acp
amdgpu drm/amdgpu: move the drm client creation behind drm device registration 2024-01-29 15:35:13 -05:00
amdkfd drm/amdkfd: Use correct drm device for cgroup permission check 2024-01-29 15:38:30 -05:00
amdxcp drm/amdxcp: fix amdxcp unloads incompletely 2023-10-26 19:04:53 -04:00
display drm/amd/display: use correct phantom pipe when populating subvp pipe info 2024-01-29 15:45:53 -05:00
include drm/amd/include: Add missing registers/mask for DCN316 and 350 2024-01-29 15:34:33 -05:00
pm drm/amdgpu/pm: Add default case for smu IH process func 2024-01-25 14:49:12 -05:00