diff options
author | Hamza Mahfooz <hamza.mahfooz@amd.com> | 2022-07-21 12:55:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-08-16 18:17:31 -0400 |
commit | 8350bb59e63d0909b0d65af2d9710026e0f902ce (patch) | |
tree | 73abd1f92e86e8d4268f08736492a1a7e1ffe3a6 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 34f667634a0dcee26d9873ab1c819bdd6cdf485a (diff) | |
download | linux-8350bb59e63d0909b0d65af2d9710026e0f902ce.tar.gz linux-8350bb59e63d0909b0d65af2d9710026e0f902ce.tar.bz2 linux-8350bb59e63d0909b0d65af2d9710026e0f902ce.zip |
drm/amd/display: consider DSC pass-through during mode validation
Add a mode validation routine for DSC pass-through. Both the link from
source to hub, and the link from hub to monitor are checked, according
to the current link training result and full pbn returned by enum path
resource sideband message.
Pick up the minimum value as the bandwidth bottleneck for the end to
end link bandwidth constraint, and check if the maximum DSC decompression
bandwidth can fit.
v2: squash in DSC CONFIG_DRM_AMD_DC_DCN compilation fix (Hamza)
Co-authored-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@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