diff options
author | Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> | 2022-05-05 16:16:47 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-26 14:56:31 -0400 |
commit | a32cc8177eabcd3497721836241f3d456342be62 (patch) | |
tree | ee4c9e1df6951bce6a26f106270a4d2a7e0fed36 /drivers/gpu/drm/amd/display/dc/dc_link.h | |
parent | e4b0eac3e6242abf5f5ebcffdeb852e7ffa1c3d0 (diff) | |
download | linux-a32cc8177eabcd3497721836241f3d456342be62.tar.bz2 |
drm/amd/display: Fic incorrect pipe being used for clk update
[Why]
we save the prev_dppclk value using "dpp_inst" but
when reading this value we use the index "i". In
a case where a pipe is fused off we can end up reading
the incorrect instance because i != dpp_inst in this
case.
[How]
read the prev_dppclk using dpp_inst instead of i
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_link.h')
0 files changed, 0 insertions, 0 deletions