[Intel-gfx] [PATCH 23/29] drm/exynos: drop struct_mutex from exynos_gem_map_sgt_with_dma

Daniel Stone daniel at fooishbar.org
Mon Nov 23 02:01:11 PST 2015


Hi,

On 23 November 2015 at 09:32, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> The sg table isn't refcounted, there's no corresponding locking for
> unmapping and drm_map_sg is ok with being called concurrently.
>
> So drop the locking since it doesn't protect anything.
>
> 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 Intel-gfx mailing list