drm/ttm: wire up the new pool as default one v2
authorChristian König <christian.koenig@amd.com>
Sat, 24 Oct 2020 11:10:28 +0000 (13:10 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 29 Oct 2020 14:56:45 +0000 (15:56 +0100)
commitee5d2a8e549e90325fcc31825269f89647cd6fac
tree9d3faf92bcec71bdc7918acc5667837cae5117e3
parentd099fc8f540add80f725014fdd4f7f49f3c58911
drm/ttm: wire up the new pool as default one v2

Provide the necessary parameters by all drivers and use the new pool alloc
when no driver specific function is provided.

v2: fix the GEM VRAM helpers

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Madhav Chauhan <madhav.chauhan@amd.com>
Tested-by: Huang Rui <ray.huang@amd.com>
Link: https://patchwork.freedesktop.org/patch/397081/?series=83051&rev=1
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/drm_gem_vram_helper.c
drivers/gpu/drm/nouveau/nouveau_ttm.c
drivers/gpu/drm/qxl/qxl_ttm.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_memory.c
drivers/gpu/drm/ttm/ttm_tt.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
include/drm/ttm/ttm_bo_driver.h