drm/cma: Fix recent regression of mmap() in the MMU case.
authorEric Anholt <eric@anholt.net>
Mon, 17 Apr 2017 23:31:24 +0000 (16:31 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 18 Apr 2017 19:25:37 +0000 (12:25 -0700)
commit75cccac4028cede6d064699abae903c9e338004f
tree298ad5db125a2eb4a145e319c534b81d961adb17
parent765393db20e34b8ad9c1c6a71a793d17d23f4aa5
drm/cma: Fix recent regression of mmap() in the MMU case.

The stub get_unmapped_area() function was actually getting called, so
all of our mmap()s failed.

Cc: Yannick Fertre <yannick.fertre@st.com>
Fixes: 97bf3a9aa60f ("drm/cma: Update DEFINE_DRM_GEM_CMA_FOPS to add get_unmapped_area")
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/20170417233124.18420-1-eric@anholt.net
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drm_gem_cma_helper.h