#
#asahi-gpu · 2023-07-15 02:06
alyssa(and separate system values in the shader for "dispatched wg size" and "actual current wg size")
#asahi-gpu · 2023-07-15 02:06
alyssakarolherbst: native support for non-uniform workgroup sizes on m1 :~)
#asahi-gpu · 2023-07-15 01:25
alyssabut what it's doing I.. cannot understnad
#asahi-gpu · 2023-07-15 01:24
alyssaand then with concurrent mode, https://developer.apple.com/documentation/metal/mtlcomputecommandencoder/2966553-memorybarrierwithscope?language=objc becomes non-nop
#asahi-gpu · 2023-07-15 01:24
alyssamight be worth poking at sometime, maybe get some more uapi unknowns discovered
#asahi-gpu · 2023-07-15 01:23
alyssait seems the default is Serial, which is sensible, but MTLDispatchTypeConcurrent generates some... genuinely bizarre stuff
#asahi-gpu · 2023-07-15 01:23
alyssaI'm not sure if you've seen this?
#asahi-gpu · 2023-07-15 01:23
alyssalina: https://developer.apple.com/documentation/metal/mtlcommandbuffer/2966541-computecommandencoderwithdispatc?language=objc
#asahi-gpu · 2023-07-14 17:47
alyssayes :)
#asahi-gpu · 2023-07-14 17:32
eric_engestromah ok, so garlic as in ail :)
#asahi-gpu · 2023-07-14 17:17
alyssasee slides 8/9 on Image Layouts
#asahi-gpu · 2023-07-14 17:16
alyssaeric_engestrom: https://rosenzweig.io/XDC2022-slides.pdf
#asahi-gpu · 2023-07-14 17:14
alyssaoh jeez what happened to our slide deck
#asahi-gpu · 2023-07-14 17:13
alyssaeric_engestrom: no
#asahi-gpu · 2023-07-14 17:13
alyssaer
#asahi-gpu · 2023-07-14 17:12
alyssathan eric_engestrom no
#asahi-gpu · 2023-07-14 16:19
eric_engestrom(had too look that up, not sure if I found the right one)
#asahi-gpu · 2023-07-14 16:19
eric_engestrom"the garlic rule" = "either everyone or no-one"?
#asahi-gpu · 2023-07-14 12:05
alyssabut I somewhat suspect even that won't happen
#asahi-gpu · 2023-07-14 12:05
alyssain the worst case I would rather have variants of the modifier of "ail offset" vs "AVD offset" vs "JPEG offset" or something
#asahi-gpu · 2023-07-14 12:04
alyssais there ever a reason why we wouldn't satisfy the garlic rules? if not, I'd rather define the modifier according to them
#asahi-gpu · 2023-07-14 02:25
linaI wonder if we want to encode the accel buffer offset in the modifier or just declare that the garlic rules are implied?
#asahi-gpu · 2023-07-14 02:23
alyssaah
#asahi-gpu · 2023-07-14 02:22
linahttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/fw/dcp/ipc.py#L521
#asahi-gpu · 2023-07-14 02:21
alyssa:p
#asahi-gpu · 2023-07-14 02:21
alyssasee if we can stop being haunted by acronyms in the firmware
#asahi-gpu · 2023-07-14 02:20
linaBut also in general we know there's more compression types, stuff used for the video decoders and stuff... would be interesting to scrape that and see if we find other fun formats
#asahi-gpu · 2023-07-14 02:20
linaIt's just a little extra blob with more parameters
#asahi-gpu · 2023-07-14 02:20
linaBut also I already looked at the DCP side and have the structures worked out, it's boring
#asahi-gpu · 2023-07-14 02:20
alyssa=D
#asahi-gpu · 2023-07-14 02:20
linaalyssa: Oh whoops you're right, I accidentally built the right tool for that ^^;;
#asahi-gpu · 2023-07-14 01:52
Guest5884that sounds familiar
#asahi-gpu · 2023-07-14 01:35
alyssaI guess the not being for... AVD? maybe?
#asahi-gpu · 2023-07-14 01:35
alyssaI think dcp supports multiple types of compression, one matching the gpu and one not
#asahi-gpu · 2023-07-14 01:35
alyssaOh.. right
#asahi-gpu · 2023-07-14 00:43
alyssaCompression that only WindowServer and no other code ever uses? can't DYLD_INSERT into WindowServer? just dump WindowServer's gpu use from the hv ;-D
#asahi-gpu · 2023-07-14 00:43
alyssaYou just built out the exact tooling we need to deal with that :-P
#asahi-gpu · 2023-07-14 00:42
alyssalina: Oooooh, hey, guess what
#asahi-gpu · 2023-07-14 00:42
alyssaor whether there's a separate compression mode on the gpu for dcp interchange
#asahi-gpu · 2023-07-14 00:42
alyssaMy open question was whether what dcp calls "agx compression" is indeed what we call DRM_FORMAT_ASAHI_TWIDDLED_COMPRESSED
#asahi-gpu · 2023-07-14 00:41
alyssaOn the dcp side I remember the compression looked scary but this was early DCP and early AGX understanding so maybe we have that figured out? or maybe not? \shrug/
#asahi-gpu · 2023-07-14 00:41
alyssaOn the gpu side there shouldn't be anything scary there
#asahi-gpu · 2023-07-14 00:41
alyssajannau: OOI what's the story around dcp compression?
#asahi-gpu · 2023-07-14 00:40
alyssa07:51 <marcan> and this will break completely when we enable compression anyway
#asahi-gpu · 2023-07-10 21:11
alyssa:3
#asahi-gpu · 2023-07-10 21:09
ella-0nice :3
#asahi-gpu · 2023-07-10 21:05
alyssaella-0: yes I am procrastinating on debugging copies why do you ask
#asahi-gpu · 2023-07-10 21:05
alyssaif i still did work mastodon I'd toot right now :p
#asahi-gpu · 2023-07-10 21:04
alyssahttps://rosenzweig.io/vulkangears.png
#asahi-gpu · 2023-07-10 21:04
alyssawired up blending and the depth test in agxv

plus ›