Skip to content

ttm tt refactoring.

Dave Airlie dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest23 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23drm/amdgpu/ttm: remove unused parameter to move blitdrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c+4 -40 replies
2/23drm/radeon/ttm: don't store driver copy of device pointer.drivers/gpu/drm/radeon/radeon_ttm.c+4 -41 reply
3/23drm/ttm: remove bdev from ttm_ttdrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c drivers/gpu/drm/drm_gem_vram_helper.c drivers/gpu/drm/nouveau/nouveau_bo.c +12 more+139 -1140 replies
4/23drm/ttm: add optional bind/unbind via driver.drivers/gpu/drm/ttm/ttm_tt.c include/drm/ttm/ttm_bo_driver.h+48 -30 replies
5/23drm/qxl: move bind/unbind/destroy to the driver function table.drivers/gpu/drm/qxl/qxl_ttm.c+3 -70 replies
6/23drm/ttm/agp: export bind/unbind/destroy for drivers to use.drivers/gpu/drm/ttm/ttm_agp_backend.c include/drm/ttm/ttm_tt.h+15 -60 replies
7/23drm/radeon/ttm: move to driver binding/destroy functions.drivers/gpu/drm/radeon/radeon.h drivers/gpu/drm/radeon/radeon_cs.c drivers/gpu/drm/radeon/radeon_gem.c +4 more+81 -321 reply
8/23drm/nouveau/ttm: use driver bind/unbind/destroy functions.drivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/nouveau/nouveau_sgdma.c drivers/gpu/drm/nouveau/nouveau_ttm.h+60 -420 replies
9/23drm/vmwgfx: move to driver binding functionsdrivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c+3 -70 replies
10/23drm/amdgpu/ttm: move to driver backend binding funcsdrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c+3 -70 replies
11/23drm/gem_vram/ttm: move to driver backend destroy function.drivers/gpu/drm/drm_gem_vram_helper.c+1 -61 reply
12/23drm/ttm/agp: drop back end bindings from agpdrivers/gpu/drm/ttm/ttm_agp_backend.c+0 -70 replies
13/23drm/ttm: get rid of agp specific populate/unpopulate paths.drivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/radeon/radeon_ttm.c drivers/gpu/drm/ttm/ttm_agp_backend.c +1 more+4 -230 replies
14/23drm/ttm/agp: remove bdev from agp helpersdrivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/radeon/radeon_ttm.c drivers/gpu/drm/ttm/ttm_agp_backend.c +1 more+13 -190 replies
15/23drm/ttm: drop the tt backend function paths.drivers/gpu/drm/ttm/ttm_tt.c include/drm/ttm/ttm_tt.h+3 -510 replies
16/23drm/ttm: move sg pointer into ttm_dma_ttdrivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c drivers/gpu/drm/nouveau/nouveau_bo.c +4 more+38 -350 replies
17/23drm/ttm: split populated/bound state flags.drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c drivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/radeon/radeon_mn.c +8 more+30 -331 reply
18/23drm/ttm: move bound flag and use a utility wrapperdrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c drivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/radeon/radeon_mn.c +7 more+36 -360 replies
19/23drm/ttm: split bind and populate out.drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c drivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/radeon/radeon_ttm.c +4 more+32 -180 replies
20/23drm/ttm: add populated accessorsdrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c drivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/radeon/radeon_ttm.c +7 more+32 -220 replies
21/23drm/ttm: store populated status in upper page flag bits.include/drm/ttm/ttm_tt.h+7 -30 replies
22/23drm/ttm: two minor struct reorgs to fill holes.include/drm/ttm/ttm_placement.h include/drm/ttm/ttm_tt.h+2 -20 replies
23/23drm/ttm: change ordering of args to map/unmap helpers.drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c drivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/radeon/radeon_ttm.c +2 more+16 -120 replies

Reviews trailers per patch

1 of 23 patches has a Reviewed-by or Acked-by.

PatchThomas Zimmermann
1/23
2/23
3/23
4/23
5/23
6/23
7/23
8/23
9/23
10/23
11/23A-b
12/23
13/23
14/23
15/23
16/23
17/23
18/23
19/23
20/23
21/23
22/23
23/23

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [00/23] ttm tt refactoring.

This is based on top of misc-next with Christians io rework for nouveau.

https://github.com/airlied/linux/tree/ttm-tt-cleanup (is a complete tree)

The idea is to move towards ttm_tt being just a backing store for system allocated pages + dma info, and not be anything to do with a global TT.

First is a couple of minor cleanups, then drops bdev from ttm_tt, and moves the func table into the bdev driver table instead, makes drivers deal with the agp differences, then cleans up the mess.

It tries to cleanup ttm_tt a bit more as well, in the end ttm_tt is getting to what I'd like it to represent, the next step is tackling the whole bind/unbind/move stuff I think.

Dave.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel