From: Yannick Fertre Date: Fri, 14 Apr 2017 10:13:31 +0000 (+0200) Subject: drm/cma: Update DEFINE_DRM_GEM_CMA_FOPS to add get_unmapped_area X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=97bf3a9aa60f0d25541738feeb28e39decc41b76;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/cma: Update DEFINE_DRM_GEM_CMA_FOPS to add get_unmapped_area Missing field get_unmapped_area which is necessary with device without MMU Signed-off-by: Yannick Fertre Signed-off-by: Eric Anholt Link: http://patchwork.freedesktop.org/patch/msgid/1492164819-10513-2-git-send-email-yannick.fertre@st.com Reviewed-by: Neil Armstrong Reviewed-by: Eric Anholt --- diff --git a/include/drm/drm_gem_cma_helper.h b/include/drm/drm_gem_cma_helper.h index f962d33667cf..7320b140545a 100644 --- a/include/drm/drm_gem_cma_helper.h +++ b/include/drm/drm_gem_cma_helper.h @@ -50,6 +50,7 @@ to_drm_gem_cma_obj(struct drm_gem_object *gem_obj) .read = drm_read,\ .llseek = noop_llseek,\ .mmap = drm_gem_cma_mmap,\ + .get_unmapped_area = drm_gem_cma_get_unmapped_area,\ } /* free GEM object */