-
- Downloads
drm/ttm: allocate resource object instead of embedding it v2
To improve the handling we want the establish the resource object as base class for the backend allocations. v2: add missing error handling Signed-off-by:Christian König <christian.koenig@amd.com> Acked-by:
Thomas Hellström <thomas.hellstrom@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210602100914.46246-1-christian.koenig@amd.com
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_object.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 27 additions, 27 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
- drivers/gpu/drm/nouveau/nouveau_bo.c 1 addition, 1 deletiondrivers/gpu/drm/nouveau/nouveau_bo.c
- drivers/gpu/drm/radeon/radeon_ttm.c 1 addition, 1 deletiondrivers/gpu/drm/radeon/radeon_ttm.c
- drivers/gpu/drm/ttm/ttm_bo.c 28 additions, 55 deletionsdrivers/gpu/drm/ttm/ttm_bo.c
- drivers/gpu/drm/ttm/ttm_bo_util.c 21 additions, 22 deletionsdrivers/gpu/drm/ttm/ttm_bo_util.c
- drivers/gpu/drm/ttm/ttm_resource.c 23 additions, 8 deletionsdrivers/gpu/drm/ttm/ttm_resource.c
- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 1 addition, 1 deletiondrivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
- include/drm/ttm/ttm_bo_api.h 0 additions, 1 deletioninclude/drm/ttm/ttm_bo_api.h
- include/drm/ttm/ttm_bo_driver.h 4 additions, 6 deletionsinclude/drm/ttm/ttm_bo_driver.h
- include/drm/ttm/ttm_resource.h 2 additions, 2 deletionsinclude/drm/ttm/ttm_resource.h
Loading