summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorBrendan Tam <Brendan.Tam@amd.com>2025-03-14 20:09:13 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-03-27 00:43:25 +0300
commit8058061ed9d6bc259d1e678607b07d259342c08f (patch)
tree7841f629048a57dde5230767da6ad289171b0770 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent0389f2a3a23c9a2d4cf58d2ab0d3b283f19e8630 (diff)
downloadlinux-8058061ed9d6bc259d1e678607b07d259342c08f.tar.xz
drm/amd/display: prevent hang on link training fail
[Why] When link training fails, the phy clock will be disabled. However, in enable_streams, it is assumed that link training succeeded and the mux selects the phy clock, causing a hang when a register write is made. [How] When enable_stream is hit, check if link training failed. If it did, fall back to the ref clock to avoid a hang and keep the system in a recoverable state. Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Brendan Tam <Brendan.Tam@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions