diff options
author | Eric Anholt <eric@anholt.net> | 2018-12-07 11:16:53 -0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-02-08 14:02:33 -0500 |
commit | 82abf33766712d8446ea137a3400165e31bd12c7 (patch) | |
tree | 2855e6f83a04c148ca94ca63057c3de7e291b2bf /drivers/gpu/drm/amd/display/amdgpu_dm | |
parent | 78eb1ca47589f0cd9db2ceb28b60434e8d512131 (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 <eric@anholt.net>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm')
0 files changed, 0 insertions, 0 deletions