aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
diff options
context:
space:
mode:
authorFangzhi Zuo <[email protected]>2025-03-20 17:58:24 +0000
committerAlex Deucher <[email protected]>2025-04-07 19:18:37 +0000
commit146a4429b5674b7520a96aea34233949731c6086 (patch)
treebaf1decf1a2564cc3a3aeb7996b5557911ea9858 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
parentdrm/amd/display: Add Support for reg inbox0 for host->DMUB CMDs (diff)
downloadkernel-146a4429b5674b7520a96aea34233949731c6086.tar.gz
kernel-146a4429b5674b7520a96aea34233949731c6086.zip
drm/amd/display: Do Not Consider DSC if Valid Config Not Found
[why] In the mode validation, mst dsc is considered for bw calculation after common dsc config is determined. Currently it considered common dsc config is found if max and min target bpp are non zero which is not accurate. Invalid max and min target bpp values would not get max_kbps and min_kbps calculated, leading to falsefully pass a mode that does not have valid dsc parameters available. [how] Use the return value of decide_dsc_bandwidth_range() to determine whether valid dsc common config is found or not. Prune out modes that do not have valid common dsc config determined. Reviewed-by: Wayne Lin <[email protected]> Signed-off-by: Fangzhi Zuo <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions