From: Arnd Bergmann Date: Thu, 16 Jun 2016 12:27:57 +0000 (+0200) Subject: drm: rockchip: select DRM_GEM_CMA_HELPER X-Git-Tag: v4.9.8~1605^2~34^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a6ae85a383090e2c230d878cc5f53d0917b44ee;p=platform%2Fkernel%2Flinux-rpi3.git 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: Arnd Bergmann Fixes: 80f67cd80add ("drm/rockchip: Use cma gem vm ops") Signed-off-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/20160616122800.1174015-1-arnd@arndb.de --- diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig index d30bdc3..e48611e 100644 --- a/drivers/gpu/drm/rockchip/Kconfig +++ b/drivers/gpu/drm/rockchip/Kconfig @@ -2,6 +2,7 @@ config DRM_ROCKCHIP tristate "DRM Support for Rockchip" depends on DRM && ROCKCHIP_IOMMU depends on RESET_CONTROLLER + select DRM_GEM_CMA_HELPER select DRM_KMS_HELPER select DRM_KMS_FB_HELPER select DRM_PANEL