summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h
diff options
context:
space:
mode:
authorAric Cyr <aric.cyr@amd.com>2022-07-11 10:03:03 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-07-25 17:14:41 -0400
commit8de297dc046c180651c0500f8611663ae1c3828a (patch)
tree6bcd0c2dbd6ce0804026584763f1d0cffc704641 /drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h
parent4c5aa594928f97593502a66d5a9075f5f5dd064b (diff)
downloadlinux-stable-8de297dc046c180651c0500f8611663ae1c3828a.tar.gz
linux-stable-8de297dc046c180651c0500f8611663ae1c3828a.tar.bz2
linux-stable-8de297dc046c180651c0500f8611663ae1c3828a.zip
drm/amd/display: Avoid MPC infinite loop
[why] In some cases MPC tree bottom pipe ends up point to itself. This causes iterating from top to bottom to hang the system in an infinite loop. [how] When looping to next MPC bottom pipe, check that the pointer is not same as current to avoid infinite loop. Reviewed-by: Josip Pavic <Josip.Pavic@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Aric Cyr <aric.cyr@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/inc/hw/stream_encoder.h')
0 files changed, 0 insertions, 0 deletions