Re: [PATCH] staging: vboxvideo: select DRM_TTM

From: Hans de Goede
Date: Thu Aug 03 2017 - 06:40:29 EST


Hi,

On 01-08-17 20:05, Cihangir Akturk wrote:
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.

Signed-off-by: Cihangir Akturk <cakturk@xxxxxxxxx>

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

Acked-by: Hans de Goede <hdegoede@xxxxxxxxxx>

Regards,

Hans


---
drivers/staging/vboxvideo/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/staging/vboxvideo/Kconfig b/drivers/staging/vboxvideo/Kconfig
index f89f931..1f4182e 100644
--- a/drivers/staging/vboxvideo/Kconfig
+++ b/drivers/staging/vboxvideo/Kconfig
@@ -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