#
✕ nick:alyssa
#asahi-dev · 2022-04-20 01:08
alyssaer, noer, that was already in m1n1. guess I missed it
#asahi-dev · 2022-04-20 01:08
alyssaIt looks like that would allow implementing gamma correction so Night Light in GNOME works
#asahi-dev · 2022-04-20 01:07
alyssais this new in 12.x? or did I miss this the first time around?
#asahi-dev · 2022-04-20 01:07
alyssajannau: marcan: "A101": "IOMFB::UPPipe2::set_gamma_table_gated(IOMFBGammaTable const*)"
#asahi-dev · 2022-04-12 01:03
alyssakode54: :-p
#asahi-dev · 2022-04-12 00:48
alyssa(with mpv)
#asahi-dev · 2022-04-12 00:48
alyssajannau: I crashed DCP did I do a good
#asahi-dev · 2022-03-28 17:19
alyssaDCP: it just keeps growing
#asahi-dev · 2022-03-28 17:18
alyssajannau: lol
#asahi-dev · 2022-03-28 13:53
alyssajannau: That too, rqou_ mentioned encoding though
#asahi-dev · 2022-03-28 13:51
alyssa(Or at all, for JPEG...)
#asahi-dev · 2022-03-28 13:51
alyssaI wouldn't worry about any of this for now, though
#asahi-dev · 2022-03-28 13:51
alyssa...meaning they may need extra registers to point to the aux plane, and/or to configure the compressio
#asahi-dev · 2022-03-28 13:50
alyssaFramebuffer compression schemes are usually multiplanar, with a compressed data plane and a separate control plane
#asahi-dev · 2022-03-28 13:49
alyssa(Differs from ASTC which realistically cannot be encoded in real time)
#asahi-dev · 2022-03-28 13:49
alyssaAnd prioritises efficeint encode in hardware over absolute best compression
#asahi-dev · 2022-03-28 13:48
alyssa(In fact total memory usage goes up.>)
#asahi-dev · 2022-03-28 13:48
alyssaAGX compression is a framebuffer compression scheme, meaning it optimizes for memory bandwidth as opposed to total memory usage
#asahi-dev · 2022-03-28 13:46
alyssaAt a guess, to support screenshots efficiently on some iPhone?
#asahi-dev · 2022-03-28 13:46
alyssaFor the JPEG *encoder*, presumably that supports passing a compressed YUV frame from the GPU directly to the JPEG encoder
#asahi-dev · 2022-03-28 13:46
alyssaThe display controller also supports "AGX compression", so WindowServer can composite on the GPU and send the composited frame to the display without ever decompressing (which saves considerable memory b/w with hidpi)
#asahi-dev · 2022-03-28 13:45
alyssai.e. the compression native to the GPU, which the GPU can both compress and decompress efficiently (while rendering and sampling respectively)
#asahi-dev · 2022-03-28 13:44
alyssaThat's a regular 420YpCbCr8BiPlanarFullRange format (leaving that as an exercise), compressed with what Apple calls "AGX compression"
#asahi-dev · 2022-03-28 13:44
alyssarqou_: I haven't seen kCVPixelFormatType_AGX_420YpCbCr8BiPlanarFullRange, but if I had to guess --
#asahi-dev · 2022-03-28 03:09
alyssaack
#asahi-dev · 2022-03-28 03:02
alyssaI mean. I think. I just do graphics.
#asahi-dev · 2022-03-28 03:01
alyssayea
#asahi-dev · 2022-03-28 02:56
alyssarqou_: fwiw, usb4 ~= thunderbolt
#asahi-dev · 2022-03-27 18:47
alyssarqou_: seems legit to me :)
#asahi-dev · 2022-03-27 15:32
alyssa:(
#asahi-dev · 2022-03-27 15:28
alyssajannau: ...DCP on Mac Studio when? :-p
#asahi-dev · 2022-03-27 15:22
alyssarqou_: Submit under your real name, and if upstream gives you shit for that let me know, my "send angry email to LKML key" is right next to my "Reviewed-by" key.
#asahi-dev · 2022-03-27 15:21
alyssaAnyway. I can't predict how upstream will react, but
#asahi-dev · 2022-03-27 15:20
alyssaRegressive name requirements pose real issues to various already-disadvantaged groups in tech (depending on culture: trans people, women, everyone).
#asahi-dev · 2022-03-27 15:19
alyssaWhat are they even going to NAK over? "This doesn't 'look' like your real name"? How should they know what your real name looks like?
#asahi-dev · 2022-03-27 15:18
alyssaWhich holds for a person's real name even if it doesn't match some arbitrary Western preconception.
#asahi-dev · 2022-03-27 15:17
alyssaIt's my understanding the subtext of that requirement is "a court should be able to find you"
#asahi-dev · 2022-03-27 15:16
alyssaIf upstream doesn't like it, that's a them problem.
#asahi-dev · 2022-03-27 15:16
alyssaIf your real name (used in real life) is a mononym, even a single letter mononym... then that's your real name. IMO that should be good enough for upstream.
#asahi-dev · 2022-03-27 15:16
alyssarqou_: sven: the kernel docs say to use "your real name (sorry, no pseudonyms or anonymous contributions.)"
#asahi-dev · 2022-03-22 22:43
alyssajannau: why does preallocated vram matter if m1n1 speaks DCP..?
#asahi-dev · 2022-03-22 21:03
alyssaOne step closer to proper s2idle at least
#asahi-dev · 2022-03-22 21:02
alyssa*nod*
#asahi-dev · 2022-03-22 21:01
alyssawhether it's correct is hard to tell with so much other suspend-related breakage
#asahi-dev · 2022-03-22 21:00
alyssathat patch at minimum gets the video to stop ("no signal" on my display) and then come back after
#asahi-dev · 2022-03-22 20:55
alyssaI think this does what we want, but with so many other issues with suspend/resume on these machines it's honestly hard to know
#asahi-dev · 2022-03-22 20:55
alyssajannau: https://rosenzweig.io/0001-drm-apple-Implement-suspend-resume-for-DCP.patch
#asahi-dev · 2022-03-22 20:52
alyssabut no evidence thereof, gah
#asahi-dev · 2022-03-22 20:49
alyssabad news, kernel is seriously borked I think
#asahi-dev · 2022-03-22 20:49
alyssagood news, got DCP on and off

plus ›