aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2022-01-25 12:04:34 -0500
committerAlex Deucher <[email protected]>2022-02-23 16:31:06 -0500
commit3743e7f6fcb938b7d8b7967e6a9442805e269b3d (patch)
tree0e881da691898a23e3c9781d290f8e84da874af5 /tools/perf/scripts/python/export-to-sqlite.py
parent7294863a6f01248d72b61d38478978d638641bee (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. Reviewed-by: Jimmy Kizito <[email protected]> Acked-by: Jasdeep Dhillon <[email protected]> Signed-off-by: Nicholas Kazlauskas <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions