aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorWenjing Liu <[email protected]>2023-11-06 21:47:19 +0000
committerAlex Deucher <[email protected]>2023-11-29 21:48:58 +0000
commit613a81995575889753ca44d70d33e84a1d21bae5 (patch)
tree715d9d6179c27c452cb4416decfdbfee517230ea /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amd/display: add skip_implict_edp_power_control flag for dce110 (diff)
downloadkernel-613a81995575889753ca44d70d33e84a1d21bae5.tar.gz
kernel-613a81995575889753ca44d70d33e84a1d21bae5.zip
drm/amd/display: fix a pipe mapping error in dcn32_fpu
[why] In dcn32 DML pipes are ordered the same as dc pipes but only for used pipes. For example, if dc pipe 1 and 2 are used, their dml pipe indices would be 0 and 1 respectively. However update_pipe_slice_table_with_split_flags doesn't skip indices for free pipes. This causes us to not reference correct dml pipe output when building pipe topology. [how] Use two variables to iterate dc and dml pipes respectively and only increment dml pipe index when current dc pipe is not free. Cc: [email protected] # 6.1+ Reviewed-by: Chaitanya Dhere <[email protected]> Acked-by: Hamza Mahfooz <[email protected]> Signed-off-by: Wenjing Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions