Commit 97bf3a9a authored by Yannick Fertre's avatar Yannick Fertre Committed by Eric Anholt

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: default avatarYannick Fertre <yannick.fertre@st.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/1492164819-10513-2-git-send-email-yannick.fertre@st.comReviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
parent cdec4d36
...@@ -50,6 +50,7 @@ to_drm_gem_cma_obj(struct drm_gem_object *gem_obj) ...@@ -50,6 +50,7 @@ to_drm_gem_cma_obj(struct drm_gem_object *gem_obj)
.read = drm_read,\ .read = drm_read,\
.llseek = noop_llseek,\ .llseek = noop_llseek,\
.mmap = drm_gem_cma_mmap,\ .mmap = drm_gem_cma_mmap,\
.get_unmapped_area = drm_gem_cma_get_unmapped_area,\
} }
/* free GEM object */ /* free GEM object */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment