Skip to content

Commit

Permalink
drm/cma: Update DEFINE_DRM_GEM_CMA_FOPS to add get_unmapped_area
Browse files Browse the repository at this point in the history
Missing field get_unmapped_area which is necessary with device without MMU

Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/1492164819-10513-2-git-send-email-yannick.fertre@st.com
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
  • Loading branch information
Yannick Fertre authored and Eric Anholt committed Apr 14, 2017
1 parent cdec4d3 commit 97bf3a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/drm/drm_gem_cma_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 97bf3a9

Please sign in to comment.