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
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
- drivers/gpu/drm/drm_gem_vram_helper.c 2 additions, 2 deletionsdrivers/gpu/drm/drm_gem_vram_helper.c
- drivers/gpu/drm/nouveau/nouveau_ttm.c 9 additions, 5 deletionsdrivers/gpu/drm/nouveau/nouveau_ttm.c
- drivers/gpu/drm/qxl/qxl_ttm.c 2 additions, 3 deletionsdrivers/gpu/drm/qxl/qxl_ttm.c
- drivers/gpu/drm/radeon/radeon_ttm.c 2 additions, 2 deletionsdrivers/gpu/drm/radeon/radeon_ttm.c
- drivers/gpu/drm/ttm/ttm_bo.c 6 additions, 2 deletionsdrivers/gpu/drm/ttm/ttm_bo.c
- drivers/gpu/drm/ttm/ttm_memory.c 1 addition, 1 deletiondrivers/gpu/drm/ttm/ttm_memory.c
- drivers/gpu/drm/ttm/ttm_tt.c 2 additions, 3 deletionsdrivers/gpu/drm/ttm/ttm_tt.c
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c 3 additions, 2 deletionsdrivers/gpu/drm/vmwgfx/vmwgfx_drv.c
- include/drm/ttm/ttm_bo_driver.h 7 additions, 4 deletionsinclude/drm/ttm/ttm_bo_driver.h
Please register or sign in to comment