aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2023-07-13 10:00:49 +0100
committerRodrigo Vivi <[email protected]>2023-12-21 11:37:37 -0500
commitee82d2da9c8ac13486550b2c86068e1d6edddf51 (patch)
treea77e2a1ebcbd0e408423c2dd5947779b13195a8f /tools/perf/scripts/python/bin/task-analyzer-record
parent5a142f9c675ab524a5f18457859ed2002507ea74 (diff)
drm/xe: add missing bulk_move reset
It looks like bulk_move is set during object construction, but is only removed on object close, however in various places we might not yet have an actual fd to close, like on the error paths for the gem_create ioctl, and also one internal user for the evict_test_run_gt() selftest. Try to handle those cases by manually resetting the bulk_move. This should prevent triggering: WARNING: CPU: 7 PID: 8252 at drivers/gpu/drm/ttm/ttm_bo.c:327 ttm_bo_release+0x25e/0x2a0 [ttm] v2 (Nirmoy): - It should be safe to just unconditionally call __xe_bo_unset_bulk_move() in most places. Signed-off-by: Matthew Auld <[email protected]> Cc: Matthew Brost <[email protected]> Reviewed-by: Nirmoy Das <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions