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]>
This commit is contained in:
Yannick Fertre
2017-04-14 11:30:27 -07:00
committed by Eric Anholt
parent cdec4d3613
commit 97bf3a9aa6
+1
View File
@@ -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 */