All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: vboxvideo: select DRM_TTM
@ 2017-08-01 18:05 Cihangir Akturk
  2017-08-03 10:40 ` Hans de Goede
  0 siblings, 1 reply; 2+ messages in thread
From: Cihangir Akturk @ 2017-08-01 18:05 UTC (permalink / raw)
  To: gregkh; +Cc: hdegoede, michael.thayer, devel, linux-kernel, 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.

Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
---
 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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: vboxvideo: select DRM_TTM
  2017-08-01 18:05 [PATCH] staging: vboxvideo: select DRM_TTM Cihangir Akturk
@ 2017-08-03 10:40 ` Hans de Goede
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2017-08-03 10:40 UTC (permalink / raw)
  To: Cihangir Akturk, gregkh; +Cc: michael.thayer, devel, linux-kernel

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@gmail.com>

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

Acked-by: Hans de Goede <hdegoede@redhat.com>

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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-03 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-01 18:05 [PATCH] staging: vboxvideo: select DRM_TTM Cihangir Akturk
2017-08-03 10:40 ` Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.