1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dcn10
Josip Pavic 615fc50207 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 <Jun.Lei@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Josip Pavic <Josip.Pavic@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-08-10 15:12:06 -04:00
..
dcn10_cm_common.c drm/amd/display: remove dc context from transfer function 2020-09-15 17:52:42 -04:00
dcn10_cm_common.h drm/amd/display: Implement CM dealpha and bias interfaces 2019-05-31 10:39:29 -05:00
dcn10_dpp.c drm/amd/display: Re-implementing ARGB16161616 pixel format as 22 2022-07-13 11:25:17 -04:00
dcn10_dpp.h drm/amd/display: Remove the repeated dpp1_full_bypass declaration 2021-06-18 17:14:36 -04:00
dcn10_dpp_cm.c drm/amd/display: Simplify bool comparison 2021-01-14 13:20:21 -05:00
dcn10_dpp_dscl.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn10_dwb.c drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dcn10_dwb.h drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dcn10_hubbub.c drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
dcn10_hubbub.h drm/amd/display: Add dependant changes for DCN32/321 2022-06-03 16:43:38 -04:00
dcn10_hubp.c drm/amd/display: Re-implementing ARGB16161616 pixel format as 22 2022-07-13 11:25:17 -04:00
dcn10_hubp.h drm/amd/display: make hubp1_wait_pipe_read_start() static 2022-04-19 13:58:32 -04:00
dcn10_hw_sequencer.c drm/amd/display: Device flash garbage before get in OS 2022-08-10 15:12:00 -04:00
dcn10_hw_sequencer.h drm/amd/display: Refactor visual confirm 2021-06-08 12:18:37 -04:00
dcn10_hw_sequencer_debug.c drm/amd/display: fix type mismatch error for return variable 2021-02-09 15:48:28 -05:00
dcn10_hw_sequencer_debug.h drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
dcn10_init.c drm/amd/display: Added power down for DCN10 2021-12-30 08:54:44 -05:00
dcn10_init.h drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
dcn10_ipp.c drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
dcn10_ipp.h drm/amd/display: add cyan_skillfish display support 2021-10-04 15:22:57 -04:00
dcn10_link_encoder.c drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
dcn10_link_encoder.h drm/amd/display: Fix USBC link creation 2022-06-03 16:43:38 -04:00
dcn10_mpc.c drm/amd/display: Avoid MPC infinite loop 2022-08-10 15:12:06 -04:00
dcn10_mpc.h drm/amd/display: add getter routine to retrieve mpcc mux 2020-12-23 15:02:55 -05:00
dcn10_opp.c drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
dcn10_opp.h drm/amd/display: Subsample mode suboptimal for YCbCr4:2:2 2019-09-13 17:54:53 -05:00
dcn10_optc.c drm/amd/display: FVA timing adjustment 2022-06-14 21:38:41 -04:00
dcn10_optc.h drm/amd/display: Updates for OTG and DCCG clocks 2022-06-03 16:45:01 -04:00
dcn10_resource.c drm/amd/display: Add dc_ctx to link_enc_create() parameters 2022-07-25 17:17:28 -04:00
dcn10_resource.h drm/amd/display: move FPU code from dcn10 to dml/dcn10 folder 2022-03-15 14:25:16 -04:00
dcn10_stream_encoder.c drm/amd/display: Remove unused variables from dcn10_stream_encoder 2022-07-25 09:31:02 -04:00
dcn10_stream_encoder.h drm/amd/display: Program ACP related register 2022-07-05 16:13:18 -04:00
Makefile drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00