aboutsummaryrefslogtreecommitdiff
path: root/drivers/atm/fore200e.c
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2023-11-06 16:47:19 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-11-29 17:54:28 -0500
commitdc9b0c2af004fe7d9d7b67015fadcb0a7123c740 (patch)
tree2b17661837277b2b50ce0e71cd81b09e29cb0721 /drivers/atm/fore200e.c
parentfdf84f10e2b08b6e3cbfc672e5dd2cebf4317dea (diff)
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: stable@vger.kernel.org # 6.1+ Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com> Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/atm/fore200e.c')
0 files changed, 0 insertions, 0 deletions