]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/ttm: add support for different pool sizes
authorChristian König <christian.koenig@amd.com>
Tue, 4 Jul 2017 14:56:24 +0000 (16:56 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Oct 2017 21:44:16 +0000 (17:44 -0400)
commitd188bfa5532ce5b426681d8530ff1a9683eea0ad
treee08c1118cde71094a9f014870e08f0889bf2f615
parentf9ebec52b5f115a0b06cdabe3036b858bfbb588a
drm/ttm: add support for different pool sizes

Correctly handle different page sizes in the memory accounting.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_memory.c
drivers/gpu/drm/ttm/ttm_page_alloc.c
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
include/drm/ttm/ttm_memory.h