Skip to contentSkip to conversation

staging: vboxvideo: select DRM_TTM

PATCH In review Cihangir Akturk 2 participants 2 messages Aug 1, 2017 – Aug 3, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vboxvideo: select DRM_TTM

vboxvideo code uses various ttm_* functions, so it needs "drivers/gpu/drm/ttm/*" to be built. In order to build these objects select DRM_TTM.

This commit fixes "ttm_*" undefined build errors.

---
 drivers/staging/vboxvideo/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/vboxvideo/Kconfig +1 -0
index f89f931..1f4182e 100644
@@ -2,6 +2,7 @@ config DRM_VBOXVIDEO
 	tristate "Virtual Box Graphics Card"
 	depends on DRM && X86 && PCI
 	select DRM_KMS_HELPER
+	select DRM_TTM
 	select GENERIC_ALLOCATOR
 	help
 	  This is a KMS driver for the virtual Graphics Card used in
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw

Hi,

Quoted 7 lines · Cihangir Akturk

vboxvideo code uses various ttm_* functions, so it needs "drivers/gpu/drm/ttm/*" to be built. In order to build these objects select DRM_TTM.

This commit fixes "ttm_*" undefined build errors.

Thank you for doing this, I had this on my todo list but I was travelling:

Regards,

Hans

Quoted 17 lines
---
  drivers/staging/vboxvideo/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/staging/vboxvideo/Kconfig +1 -0
index f89f931..1f4182e 100644
@@ -2,6 +2,7 @@ config DRM_VBOXVIDEO
  	tristate "Virtual Box Graphics Card"
  	depends on DRM && X86 && PCI
  	select DRM_KMS_HELPER
+	select DRM_TTM
  	select GENERIC_ALLOCATOR
  	help
  	  This is a KMS driver for the virtual Graphics Card used in