Alyssa Rosenzweig
|
583978a8ee
|
agx: handle rgb32 residency queries
so silly.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
839b01bd2d
|
hk: fake min/max filtering for proton
this gets us to fl12_0.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
383a3065b8
|
asahi: fix null deref in error path
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
580aff179c
|
libagx: use 64-bit multiply for image atomic calculation
lets use the hw address mode. oops!
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
5a122768b7
|
hk: do not clamp txf for copy shaders
save a few instrs.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
0a43be6d4f
|
agx: fix botched address fuses
identified in
dEQP-VK.robustness.robustness2.push.notemplate.rgba32f.unroll.nonvolatile.sampled_image.no_fmt_qual.img.samples_1.2d.comp.
owwie.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
b589285468
|
agx: assert shift bounds
would've saved me a lot of dbg trouble..
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
de424846f0
|
asahi: drop trivial depends
meson can infer since these are inputs.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
5d1f69e250
|
asahi,libagx,hk: don't set custom_target names
Per meson docs:
This posarg is optional since 0.60.0. It defaults to the basename of the first output.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
7f5271e42d
|
hk: perf debug sparse binding
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
e84c5b3a07
|
libagx: vectorize tess level loads
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
5046dd48b6
|
libagx: fix ia_primitives with tessellation
fixes new CTS
dEQP-VK.query_pool.statistics_query*input_assembly_primitives.*_patch_list_*
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
2eb5040ca8
|
hk: pass cmdbuf to perf_debug
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
debdb26167
|
hk: accelerate buffer copies with CL
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
be18473d33
|
hk: assert more
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
dc111c128c
|
hk: pass cmdbuf, not control stream, into precomp dispatch
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
29d80221db
|
hk: ensure space with the dispatch
cleaner.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
ed7d11e389
|
agx: fix uniform atomic opts
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
6c3d7a2821
|
asahi: drop cargo culted disk cache disable
we don't have a disk cache to disable with clc.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:29 +00:00 |
|
Alyssa Rosenzweig
|
678134add5
|
hk: implement sparse
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
3e7297a297
|
hk: ban sparse host-image-copy
WTF?
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
739807944d
|
agx: implement sparse residency queries
hw matches NIR well - just an extra destination on the texture instruction.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
93bccc0914
|
asahi: support unbinding VA in agx_va_free
useful for more sparse-y things.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
c02235124f
|
asahi: assert page alignment in vm_bind
kernel should check but it's easier to debug on the userspace side.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
d0a7bff906
|
ail: unit test ail_get_twiddled_block_B
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
b842a7732d
|
ail: add ail_get_twiddled_block_B helper
this is useful for sparse updates.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
78ca483940
|
ail: add ail_bytes_to_pages helper
this happens a bunch with sparse
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
56cd20ddea
|
ail: expose ail_get_max_tile_size
useful for sparse block size calculation
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
8e20875651
|
ail: extract a blocksize helper
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
aebecb2886
|
ail: move helpers to layout.h for sharing
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
7d27fd84d5
|
ail: report miptail stride
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
2cac211946
|
ail: report mip_tail_first_lod for sparse
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
09cd1bf000
|
ail: unit test sparse_table_size_B
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
bc448fe88b
|
ail: model sparse page tables
see the docs previously added for the aux image layout described here.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
ca60908bf1
|
asahi: add sparse block XML
this xml (and the sparse page table structure itself) was r/e'd blackbox since
that was easier than writing tests, lol. but it seems to work.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
c7f7496da1
|
asahi: identify image mode enum
this controls sparse.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
2cc88430f1
|
asahi: rename Null layout
this isn't a Null layout only, it's also used with sparse. update the name to
reduce confusion. Unsure if we have a use case yet but maybe as an optimization
later?
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
102bd7127b
|
docs/asahi: describe sparse page tables
some things are better in prose than code.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
5acf398b5a
|
docs/asahi: add some section headers
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
dfebd94259
|
docs/asahi: update varying info
These docs are pretty old and we've learned a lot since then.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
7b717805bf
|
hk: enable bufferDeviceAddressCaptureReplay
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
f50edbd696
|
hk: fix buffer binding
clamp sizes to avoid kernel complaints, and check the return.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
1114fbcdb7
|
hk: unbind VAs
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
1e043ed67d
|
hk: unstub UnmapMemory2KHR
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
dc3669a837
|
hk: reject non-2D modifiers
via nvk
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
db7cb681bf
|
asahi: add more alignment asserts
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
bffb90f42c
|
libagx: use assert instead of 0xdeadbeef writes
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
479d2ab53e
|
libagx: fix wraparound issue with robust draw kernel
fixes dEQP-VK.robustness.index_access.draw_multi_indexed_2 with hard faults.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
bec073d3ca
|
libagx: fix subgroup id confusion
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|
Alyssa Rosenzweig
|
4949ae3920
|
asahi: switch tib lower to intrinsic pass
fixes metadata issue.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
|
2025-02-22 02:24:28 +00:00 |
|