aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2024-05-29 14:17:34 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-06-14 16:17:16 -0400
commit3ddd9c83ff7ac0ead38188425b14d03dc2f2c133 (patch)
tree308a0bf88b7c8e9f7e85eb0ba629296291fde71e /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amd/display: Remove register from DCN35 DMCUB diagnostic collection (diff)
downloadlinux-rng-3ddd9c83ff7ac0ead38188425b14d03dc2f2c133.tar.xz
linux-rng-3ddd9c83ff7ac0ead38188425b14d03dc2f2c133.zip
drm/amd/display: remove dpp pipes on failure to update pipe params
[why] There are cases where update pipe params could fail but dpp pipes are already added to the state. In this case, we should remove dpp pipes so dc state is restored back. If it is not restored, dc state is corrupted after calling this function, so if we call the same interface with the corrupted state again, we may end up programming pipe topology based on a corrupted dc state. Reviewed-by: Dillon Varone <dillon.varone@amd.com> Acked-by: Zaeem Mohamed <zaeem.mohamed@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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions