[PATCH] drm/exynos: fix missed calling of drm_prime_gem_destroy()

Gustavo Padovan gustavo at padovan.org
Mon Sep 21 09:05:43 PDT 2015


HI Joonyoung,

2015-09-16 Joonyoung Shim <jy0922.shim at samsung.com>:

> When obj->import_attach is existed, code calling drm_prime_gem_destroy()
> was removed from commit 67e93c808b48 ("drm/exynos: stop copying sg
> table"), and it's a fault.
> 
> The drm_prime_gem_destroy() is cleanup function which GEM drivers need
> to call when they use drm_gem_prime_import() to import dma-bufs, so
> exynos-drm driver using drm_gem_prime_import() needs calling
> drm_prime_gem_destroy().
> 
> Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
> ---
>  drivers/gpu/drm/exynos/exynos_drm_gem.c | 9 +++++----
>  drivers/gpu/drm/exynos/exynos_drm_gem.h | 2 ++
>  2 files changed, 7 insertions(+), 4 deletions(-)

Reviewed-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>

	Gustavo


More information about the dri-devel mailing list