[Intel-gfx] [PATCH 1/2] drm/i915: Move drm_framebuffer_unreference out of struct_mutex for flips
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Tue Mar 10 04:43:10 PDT 2015
On 02/16/2015 02:31 PM, Chris Wilson wrote:
> intel_user_framebuffer_destroy() requires the struct_mutex for its
> object bookkeeping, so this means that all calls to
> drm_framebuffer_reference must be held without that lock.
Maybe "drm_framebuffer_unreference must be made without that lock", hm,
actually "requires the struct_mutex" is misleading, should be "will
grab/take struct_mutex".
But code itself:
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Regards,
Tvrtko
More information about the Intel-gfx
mailing list