If DEM_QXL is y and DRM_TTM_HELPER is m, building fails: drivers/gpu/drm/qxl/qxl_object.o: undefined reference to `drm_gem_ttm_print_info' Select DRM_TTM_HELPER to fix this. Fixes: 78d54f1f6a33 ("drm/qxl: use drm_gem_ttm_print_info") Signed-off-by: YueHaibing <yuehaibing at huawei.com> --- drivers/gpu/drm/qxl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/qxl/Kconfig b/drivers/gpu/drm/qxl/Kconfig index d0d691b..ca3f51c 100644 --- a/drivers/gpu/drm/qxl/Kconfig +++ b/drivers/gpu/drm/qxl/Kconfig @@ -4,6 +4,7 @@ config DRM_QXL depends on DRM && PCI && MMU select DRM_KMS_HELPER select DRM_TTM + select DRM_TTM_HELPER select CRC32 help QXL virtual GPU for Spice virtualization desktop integration. -- 2.7.4
On Tue, Oct 08, 2019 at 10:40:54AM +0800, YueHaibing wrote:> If DEM_QXL is y and DRM_TTM_HELPER is m, building fails: > > drivers/gpu/drm/qxl/qxl_object.o: undefined reference to `drm_gem_ttm_print_info' > > Select DRM_TTM_HELPER to fix this.Queued up for drm-misc-next. thanks, Gerd
Seemingly Similar Threads
- [PATCH v3 7/7] drm/vram: fix Kconfig
- [PATCH v3 07/38] drm: handle HAS_IOPORT dependencies
- [PATCH 3/3] drm/qxl: switch qxl to use the new ttm helpers.
- [PATCH v2 3/3] drm/qxl: switch qxl to use the new ttm helpers.
- [PATCH v3 5/8] drm/qxl: switch qxl to the new gem_ttm_bo_device_init()