summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
diff options
context:
space:
mode:
authorPaul Hsieh <Paul.Hsieh@amd.com>2025-03-11 12:16:57 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-04-07 22:18:30 +0300
commit8b8a602c985e99074fa1d5233cd224b7bcfb9df2 (patch)
tree5a25c6811443aff6ed31b1a4ef5bad632fea307e /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
parent76468055069ce2912eb78a76f0e0648c4f674f51 (diff)
downloadlinux-8b8a602c985e99074fa1d5233cd224b7bcfb9df2.tar.xz
drm/amd/display: Skip to enable dsc if it has been off
[Why] It makes DSC enable when we commit the stream which need keep power off.And then it will skip to disable DSC if pipe reset at this situation as power has been off. It may cause the DSC unexpected enable on the pipe with the next new stream which doesn't support DSC. [HOW] Check the DSC used on current pipe status when update stream. Skip to enable if it has been off. The operation enable DSC should happen when set power on. Reviewed-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Paul Hsieh <Paul.Hsieh@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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_jpeg.c')
0 files changed, 0 insertions, 0 deletions