]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commite2e966636aee99971965c0965a4c11b8ce077da3
treeb7cdabd76f2145436333076c9b32bfc886a6d5e7
parent3ca3a9eab7085b3c938b5d088c3020269cfecdc8
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