Commit 2a6ae85a authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Daniel Vetter

drm: rockchip: select DRM_GEM_CMA_HELPER

The rockchip drm driver started using drm_gem_cma_vm_ops, but that might
not be part of the kernel, causing the link to fail:

drivers/gpu/built-in.o:(.data+0xb234): undefined reference to `drm_gem_cma_vm_ops'

This adds a Kconfig 'select' statement to enable it like the other
user do.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 80f67cd8 ("drm/rockchip: Use cma gem vm ops")
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20160616122800.1174015-1-arnd@arndb.de
parent 14d71ebd
...@@ -2,6 +2,7 @@ config DRM_ROCKCHIP ...@@ -2,6 +2,7 @@ config DRM_ROCKCHIP
tristate "DRM Support for Rockchip" tristate "DRM Support for Rockchip"
depends on DRM && ROCKCHIP_IOMMU depends on DRM && ROCKCHIP_IOMMU
depends on RESET_CONTROLLER depends on RESET_CONTROLLER
select DRM_GEM_CMA_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select DRM_KMS_FB_HELPER select DRM_KMS_FB_HELPER
select DRM_PANEL select DRM_PANEL
......
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