aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-12-07 11:16:53 -0800
committerAlex Deucher <[email protected]>2019-02-08 14:02:33 -0500
commit82abf33766712d8446ea137a3400165e31bd12c7 (patch)
tree2855e6f83a04c148ca94ca63057c3de7e291b2bf /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
parent78eb1ca47589f0cd9db2ceb28b60434e8d512131 (diff)
drm/sched: Always trace the dependencies we wait on, to fix a race.
The entity->dependency can go away completely once we've called drm_sched_entity_add_dependency_cb() (if the cb is called before we get around to tracing). The tracepoint is more useful if we trace every dependency instead of just ones that get callbacks installed, anyway, so just do that. Fixes any easy-to-produce OOPS when tracing the scheduler on V3D with "perf record -a -e gpu_scheduler:.\* glxgears" and DEBUG_SLAB enabled. Signed-off-by: Eric Anholt <[email protected]> Reviewed-by: Christian König <[email protected]> Cc: [email protected] Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions