diff options
| author | Josip Pavic <[email protected]> | 2022-07-21 19:33:00 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-08-10 19:12:06 +0000 |
| commit | 615fc50207fa27453ba7f5fa1abd60a01a498136 (patch) | |
| tree | 7f2812f4e75e849a2d5143a6b870fbd1ec6962f3 /drivers/gpu/drm/amd/display/modules/freesync/freesync.c | |
| parent | drm/amd/display: Device flash garbage before get in OS (diff) | |
| download | kernel-615fc50207fa27453ba7f5fa1abd60a01a498136.tar.gz kernel-615fc50207fa27453ba7f5fa1abd60a01a498136.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: Jun Lei <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Josip Pavic <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions
