Hi, On 23 November 2015 at 09:32, Daniel Vetter <daniel.vetter at ffwll.ch> wrote: > The only things this protects is reading ->flags and ->size, both of > which are invariant over the lifetime of an exynos gem bo. So no > locking needed at all (besides that, nothing protects the writers > anyway). > > Aside: exynos_gem_obj->size is redundant with > exynos_gem_obj->base.size and probably should be removed. > > v2: Use _unlocked unreference (Daniel Stone). > > Cc: Daniel Stone <daniel at fooishbar.org> > Cc: Inki Dae <inki.dae at samsung.com> > Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
Reviewed-by: Daniel Stone <daniels at collabora.com> Cheers, Daniel