enable support for new uapi features
This is super WIP. The kernel branches is the nouvelles project, but it isn't integrated, with Ben's stability work yet so lots of things to do there.
Also the uapi in this has some padding that one is missing, will get fixed soon.
This adds support for syncobjs + timeline semaphores and adds support for split VM/BO allocations using a vmbind/exec model.
I'd like to get some review on the changes in here that mess with the alignments etc and the lifetime changes for the bos.
Merge request reports
Activity
- Resolved by Faith Ekstrand
- Resolved by Faith Ekstrand
- Resolved by Faith Ekstrand
added 15 commits
- 47daa029 - nvk/winsys: store device ptr into bo instead of ptr
- d89bc4ce - nvk: set the device fd
- 6d821279 - nvk/buffer: add alignment and aligned_size for buffers.
- e0c17e23 - nvk/image: fix image align and size constraints.
- 6341c78a - nvk: always sync internal cmd bufs for vma lifetimes.
- 0af8c84f - nouveau: add new uapi header file from kernel.
- 2ec5efbd - nouveau/ws: add initial vma tracker and debug bits
- 8d00097d - nouveau/ws: add vma interfaces.
- 9008479b - nouveau/ws: add support for VMA supported BOs.
- 3dc485ce - nvk/memory: port memory/buffer/image over to VMA allocations.
- 3c7108fd - nvk: add support for syncobjects to the push buffer builder.
- 0cc10fcc - nvk: enable timeline semaphores
- 9cfd98c0 - nvk: enable the new UAPI features
- 1eef451d - Add a syncobj to force sync for simple exec
- b9d08372 - fix assert
Toggle commit listadded 32 commits
-
b9d08372...2fbad072 - 11 commits from branch
nouveau:nvk/main
- 78d91fa8 - nvk: init dev->physical_device earlier.
- a3535b61 - nvk/winsys: store device ptr into bo instead of ptr
- 29fdc68d - nvk: set the device fd
- 5df8e68c - nvk/buffer: add alignment and aligned_size for buffers.
- 8e62a1c9 - nvk/image: fix image align and size constraints.
- 3c7df7fa - nvk: always sync internal cmd bufs for vma lifetimes.
- b5d9cc19 - nouveau: add new uapi header file from kernel.
- 80910a8b - nouveau/ws: add initial vma tracker and debug bits
- 0449eda6 - nouveau/ws: add vma interfaces.
- 8fa3884e - nouveau/ws: add support for VMA supported BOs.
- 70a91ad6 - nvk/memory: port memory/buffer/image over to VMA allocations.
- e3dff403 - nvk: add support for syncobjects to the push buffer builder.
- c3db7962 - nvk: enable timeline semaphores
- e7fe2cf1 - nvk: enable the new UAPI features
- c13234a1 - Add a syncobj to force sync for simple exec
- be9ce6d3 - fix assert
- bbe234f5 - spasre: fixup buffer binding
- 46eeb7c9 - push: add buffer bindings
- ae9bdab1 - enable sparseBinding
- 41a121fc - nvk/image: move image addr calc earlier
- 62ffca7d - Add sparse image binding
Toggle commit list-
b9d08372...2fbad072 - 11 commits from branch
added 2 commits
added 3598 commits
-
beffa3c0...ad2ca8f6 - 3571 commits from branch
nouveau:nvk/main
- 2c3caabb - nvk: init dev->physical_device earlier.
- 122a8d83 - nvk/winsys: store device ptr into bo instead of ptr
- 2fe27cdb - nvk: set the device fd
- 41936af8 - nvk/buffer: add alignment and aligned_size for buffers.
- 8a89eb34 - nvk/image: fix image align and size constraints.
- d5e1c04b - nvk: always sync internal cmd bufs for vma lifetimes.
- 3e516b1c - nouveau: add new uapi header file from kernel.
- 36195f5b - nouveau/ws: add initial vma tracker and debug bits
- 767344a8 - nouveau/ws: add vma interfaces.
- d65294cc - nouveau/ws: add support for VMA supported BOs.
- 777cb6f2 - nvk/memory: port memory/buffer/image over to VMA allocations.
- 913dfc53 - nvk: add support for syncobjects to the push buffer builder.
- dc465966 - nvk: enable timeline semaphores
- 74df8b77 - nvk: enable the new UAPI features
- 445e8770 - Add a syncobj to force sync for simple exec
- 81aafa9d - fix assert
- c686ef72 - spasre: fixup buffer binding
- 0c12a331 - push: add buffer bindings
- c0d3a2a4 - enable sparseBinding
- 7ae91190 - nvk/image: move image addr calc earlier
- 27e55d85 - Add sparse image binding
- ed9f98f4 - update to new sparse uAPI
- 437d5961 - NVK: HACK: force vma allocs low
- 849bd1ea - Aadd some more debug
- c31bbe93 - nvk: enable sparse images
- 3059da2d - add wrapper
- 448f415f - fixup new uapi
Toggle commit list-
beffa3c0...ad2ca8f6 - 3571 commits from branch
added 7 commits
- 81460f75 - nouveau: add new uapi header file from kernel.
- 87e5bc3d - nvk/buffer: fixup alignment
- ef844fc0 - nvk: handle alignments in device memory
- cc17fd4a - nouveau/winsys: add support for the vma bind interfaces
- fa063e49 - nvk: add vma support for images/buffers/device memory
- 212d4a04 - nvk/queue: add support for syncobjs and sparse binds
- 6a210cfc - nvk: enable sparse features
Toggle commit listadded 1 commit
- 33ce1f49 - enable new uapi paths by default (DO NOT PUSH)
added 33 commits
-
33ce1f49...2925a6c3 - 19 commits from branch
nouveau:nvk/main
- 43f4780f - nvk: init dev->physical_device earlier.
- 97bfa64e - nvk/winsys: store device ptr into bo instead of ptr
- c1ffe751 - nvk: set the device fd
- c1894a11 - nvk/buffer: add alignment and aligned_size for buffers.
- bb40f64c - nvk/image: fix image align and size constraints.
- fa3c6596 - nvk: always sync internal cmd bufs for vma lifetimes.
- ba48c1ad - nouveau: add new uapi header file from kernel.
- d1b199d1 - nvk/buffer: fixup alignment
- eabdb1ec - nvk: handle alignments in device memory
- d60243ed - nouveau/winsys: add support for the vma bind interfaces
- cfb7e2b8 - nvk: add vma support for images/buffers/device memory
- 3830689e - nvk/queue: add support for syncobjs and sparse binds
- 02087d97 - nvk: enable sparse features
- ce8fc107 - Add meson option
Toggle commit list-
33ce1f49...2925a6c3 - 19 commits from branch
- Resolved by Faith Ekstrand
- Resolved by Faith Ekstrand
- Resolved by Faith Ekstrand
- Resolved by Faith Ekstrand
- Resolved by Faith Ekstrand
added 27 commits
-
ce8fc107...3e348582 - 17 commits from branch
nouveau:nvk/main
- 9d2b3ff9 - nvk/buffer: add alignment and aligned_size for buffers.
- fb5031a6 - nvk: always sync internal cmd bufs for vma lifetimes.
- c22ad827 - nouveau: add new uapi header file from kernel.
- 5a563c1f - nvk/buffer: fixup alignment
- d25baeeb - nvk: handle alignments in device memory
- 9d8856c3 - nouveau/winsys: add support for the vma bind interfaces
- 5ec8c00d - nvk: add vma support for images/buffers/device memory
- a6a9993f - nvk/queue: add support for syncobjs and sparse binds
- 8ae0dd33 - nvk: enable sparse features
- 7f27d43a - Add meson option
Toggle commit list-
ce8fc107...3e348582 - 17 commits from branch
- Resolved by Faith Ekstrand