#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: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 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:23
alyssaah#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
alyssa=D#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: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#asahi-gpu · 2023-07-08 17:42
alyssacan't dump mesh yet which was what I was actually interested in ..#asahi-gpu · 2023-07-08 17:33
alyssabasic gfx dump also works. lot of UAPI stuff shuffled but meh#asahi-gpu · 2023-07-08 17:28
alyssaok, have enough agxdecode ported to 13.0 to dump compute#asahi-gpu · 2023-07-08 17:11
alyssaonly deps I needed to install were meson, ninja, and mako#asahi-gpu · 2023-07-08 17:11
alyssathis is real handy for building wrap.dylib#asahi-gpu · 2023-07-08 17:11
alyssa$ meson -Dgallium-drivers= -Dvulkan-drivers= -Dtools=asahi -Dllvm=disabled -Dgles2=disabled -Dgles1=disabled -Dglx=disabled#asahi-gpu · 2023-07-07 22:49
alyssanext week I'll look at the image copies, now that I've built up a little bit of self-confidence with hacking on vk_meta#asahi-gpu · 2023-07-07 22:48
alyssa--actually I don't care it's 7pm on a friday#asahi-gpu · 2023-07-07 22:47
alyssa(actually let me go fix that, should be easy)#asahi-gpu · 2023-07-07 22:47
alyssa(this still isn't fully optimal, since the thread dispatch overhead will dominate. but it's better than copying 1 byte at a time!)#asahi-gpu · 2023-07-07 22:46
alyssain the happy path, it'll copy 16 bytes at a time#asahi-gpu · 2023-07-07 22:46
alyssaIn addition to being totally generic (i.e. it'll Just Work for panvk2), I implemented one bit of cleverness that the AGX-specific one lacked -- dynamically choosing a block size based on the alignments#asahi-gpu · 2023-07-07 22:45
alyssa(Lina just found out that G14X needs a tweaked CDM header. With the new approach, there's only one place to make that change in the VK driver instead of 3 or more.)#asahi-gpu · 2023-07-07 22:44
alyssaand gets rid of all the internal hardcoded dispatches, which is a big deal for portability#asahi-gpu · 2023-07-07 22:44
alyssathat's passing all the relevant deqp-vk tests#asahi-gpu · 2023-07-07 22:44
alyssa- vk_meta implementations of vkCmdFillBuffer, vkCmdUpdateBuffer, and vkCmdCopyBuffer2.#asahi-gpu · 2023-07-07 22:43
alyssa- more banging on descriptor sets. ended up ~~plagiarising~~ adapting NVK's implementation. hopefully that means we picked up a bunch of new features for free.