diff options
author | Nicholas Kazlauskas <[email protected]> | 2022-01-25 12:04:34 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-07-05 16:12:08 -0400 |
commit | 48e03843f99857a561f25fb8e583c9a7dee5b81f (patch) | |
tree | 28c3cea88f87fa19173f369c61766368a2ce7b0b /tools/perf/scripts/python/check-perf-trace.py | |
parent | 00fa7f031dd4b885175da390e24cb02f6a45977e (diff) |
drm/amd/display: Fix stream->link_enc unassigned during stream removal
[Why]
Found when running igt@kms_atomic.
Userspace attempts to do a TEST_COMMIT when 0 streams which calls
dc_remove_stream_from_ctx. This in turn calls link_enc_unassign which
ends up modifying stream->link = NULL directly, causing the global
link_enc to be removed preventing further link activity and future link
validation from passing.
[How]
We take care of link_enc unassignment at the start of
link_enc_cfg_link_encs_assign so this call is no longer necessary.
Fixes global state from being modified while unlocked.
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions