aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYannick Fertre <[email protected]>2017-04-14 12:13:31 +0200
committerEric Anholt <[email protected]>2017-04-14 11:30:27 -0700
commit97bf3a9aa60f0d25541738feeb28e39decc41b76 (patch)
tree85534ca4e055f8e43422cb0c8c07e07c99c765a3 /include
parentcdec4d3613230fc15723fae206cb17825b914cee (diff)
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 <[email protected]> Signed-off-by: Eric Anholt <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Neil Armstrong <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_gem_cma_helper.h1
1 files changed, 1 insertions, 0 deletions
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 */