OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdec4d3
)
drm/cma: Update DEFINE_DRM_GEM_CMA_FOPS to add get_unmapped_area
author
Yannick Fertre
<yannick.fertre@st.com>
Fri, 14 Apr 2017 10:13:31 +0000
(12:13 +0200)
committer
Eric Anholt
<eric@anholt.net>
Fri, 14 Apr 2017 18:30:27 +0000
(11:30 -0700)
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>
include/drm/drm_gem_cma_helper.h
patch
|
blob
|
history
diff --git
a/include/drm/drm_gem_cma_helper.h
b/include/drm/drm_gem_cma_helper.h
index
f962d33
..
7320b14
100644
(file)
--- 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 */