aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSean Paul <[email protected]>2018-11-29 10:04:14 -0500
committerSean Paul <[email protected]>2018-11-29 10:48:30 -0500
commitaa394b0dd68cb00c483e151dcd84713d4d517ed1 (patch)
tree8b4bc589c5e3fc0120023b3289f80e647bda509e /tools/perf/scripts/python/export-to-sqlite.py
parent2f690fad237adea1bdce8ed9026cbf43cd9d8c46 (diff)
drm: Clear state->acquire_ctx before leaving drm_atomic_helper_commit_duplicated_state()
drm_atomic_helper_commit_duplicated_state() sets state->acquire_ctx to the context given in the argument and leaves it in state after it quits. The lifetime of state and context are not guaranteed to be the same, so we shouldn't leave that pointer hanging around. This patch resets the context to NULL to avoid any oopses. Changes in v2: - Added to the set Suggested-by: Daniel Vetter <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Signed-off-by: Sean Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions