Re: [PATCH v2 4/6] drm/omap: gem: Replace struct_mutex usage with omap_obj private lock

2018-05-26 Thread Laurent Pinchart
Hello, On Friday, 25 May 2018 19:39:23 EEST Laurent Pinchart wrote: > 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 di

[PATCH v2 4/6] drm/omap: gem: Replace struct_mutex usage with omap_obj private lock

2018-05-25 Thread Laurent Pinchart
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 d