]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm, drm/vmwgfx: Use a configuration option for the TTM dma page pool
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 13 Nov 2019 18:02:42 +0000 (19:02 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 14 Nov 2019 07:41:23 +0000 (08:41 +0100)
commit060cfafe41b27abc68362eabfa9296fc382dd54c
treeb7cdabd76f2145436333076c9b32bfc886a6d5e7
parent369b553c583743301c2818841963417768da0d7f
drm/ttm, drm/vmwgfx: Use a configuration option for the TTM dma page pool

Drivers like vmwgfx may want to test whether the dma page pool is present
or not. Since it's activated by default by TTM if compiled-in, define a
hidden configuration option that the driver can test for.

Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/Kconfig
drivers/gpu/drm/ttm/Makefile
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
include/drm/ttm/ttm_page_alloc.h