]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: drop struct_mutex from exynos_gem_map_sgt_with_dma
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Mar 2016 09:40:46 +0000 (11:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Apr 2016 10:57:54 +0000 (12:57 +0200)
commite54390ce48dc0e91c49f62650bf6a4923b58220f
treecbcc24e8193b0c71a5af524c1c5d1fbe1b69b5a1
parentd879a03b14fb68e4ee97ab232d7625cc8fd2bc59
drm/exynos: drop struct_mutex from exynos_gem_map_sgt_with_dma

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@samsung.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1459330852-27668-8-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/exynos/exynos_drm_gem.c