]> 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)
commit68ca8caaf8d1c086a4587202bef4986de21b2ae4
treeb7cdabd76f2145436333076c9b32bfc886a6d5e7
parentc87bc999bac7499b5514210c404f33459b1338b5
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