aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-07-25 13:14:46 +0000
committerChris Wilson <[email protected]>2019-07-26 18:25:34 +0000
commit340c4c8daad95cc1064d88901a03bcb68d0f0185 (patch)
treee54da6a533f89ad412132fa663645fa5af100a01 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/i915/uc: Don't sanitize guc_log_level modparam (diff)
downloadkernel-340c4c8daad95cc1064d88901a03bcb68d0f0185.tar.gz
kernel-340c4c8daad95cc1064d88901a03bcb68d0f0185.zip
drm/i915/gt: Add to timeline requires the timeline mutex
Modifying a remote context requires careful serialisation with requests on that context, and that serialisation requires us to take their timeline->mutex. Make it so. Note that while struct_mutex rules, we can't create more than one request in parallel, but that age is soon coming to an end. v2: Though it doesn't affect the current users, contexts may share timelines so check if we already hold the right mutex. Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions