aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2018-05-26 16:54:33 +0000
committerTomi Valkeinen <[email protected]>2018-06-28 10:41:05 +0000
commit3cbd0c587b129beaefb1405bbe43831e6bc9461e (patch)
treed31a45987312997a69db3959a37b09ac06f0952c /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentdrm/omap: gem: Don't take struct_mutex to get GEM object mmap offset (diff)
downloadkernel-3cbd0c587b129beaefb1405bbe43831e6bc9461e.tar.gz
kernel-3cbd0c587b129beaefb1405bbe43831e6bc9461e.zip
drm/omap: gem: Replace struct_mutex usage with omap_obj private lock
The DRM device struct_mutex is used to protect against concurrent GEM object operations that deal with memory allocation and pinning. All those operations are local to a GEM object and don't need to be serialized across different GEM objects. Replace the struct_mutex with a local omap_obj.lock or drop it altogether where not needed. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Tomi Valkeinen <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions