aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorWenjing Liu <[email protected]>2023-07-06 19:00:11 +0000
committerAlex Deucher <[email protected]>2023-07-25 17:40:08 +0000
commit0f3b9542c9774a2c2ef0fc76387bb48c8fc46b36 (patch)
tree42857f8d14413c62e39fcfce0ac9dfd6ee510a25 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amd/display: Read down-spread percentage from lut to adjust dprefclk. (diff)
downloadkernel-0f3b9542c9774a2c2ef0fc76387bb48c8fc46b36.tar.gz
kernel-0f3b9542c9774a2c2ef0fc76387bb48c8fc46b36.zip
drm/amd/display: Refactor recout calculation with a more generic formula
[Why] Current recout calculation has a few assumptions and implementation for MPO + ODM combine calculation is very specific. The equation has too many cases without enough comments to document the detail. [How] The change remove the following assumptions: 1. When MPO is enabled, we only allow ODM Combine 2:1 2. ODM Combine always has even segment width. 3. Secondary MPO plane's pipe_ctx copies pre_odm_pipe from its top pipe. The change applies a generic formula with more details in comment to document this solution so it is eaiser to learn and debug later. Reviewed-by: Dmytro Laktyushkin <[email protected]> Acked-by: Alex Hung <[email protected]> Signed-off-by: Wenjing Liu <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions