[PATCH 24/29] drm/exynos: drop struct_mutex from exynos_drm_gem_get_ioctl
Daniel Stone
daniel at fooishbar.org
Mon Nov 23 02:00:33 PST 2015
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
More information about the dri-devel
mailing list