#
✕ nick:alyssa
#asahi · 2021-09-11 12:57
alyssaadmittedly it's a thin tightrope since we don't have docs on current or future apples
#asahi · 2021-09-11 12:57
alyssasven: right... it seems like this is future proofing for the sake of future proofing, not because of a particular engineering objective ...
#asahi · 2021-09-11 12:56
alyssaAGX i don't know how it looks but I can't possibly fathom a reason not to do it all in agx.ko
#asahi · 2021-09-11 12:56
alyssaSEP isn't even RTKit ... NVMe maybe?
#asahi · 2021-09-11 12:56
alyssasven: so ... which block are we worried about?
#asahi · 2021-09-11 12:56
alyssaj_ey: 😎
#asahi · 2021-09-11 12:55
alyssaSMC is a single channel so irrelevant as discussed
#asahi · 2021-09-11 12:55
alyssasven: For DCP at least, there are lots of rtkit channels but I see no reason not to stick it all in dcp.ko ... the rtkit library api is 💯 natural to me
#asahi · 2021-09-11 12:54
alyssaj_ey: Ack
#asahi · 2021-09-11 12:54
alyssaSMC needs other stupid, my bad 😉
#asahi · 2021-09-11 12:54
alyssaoh I misread that
#asahi · 2021-09-11 12:54
alyssaSMC is the obvious block that needs that sort of stupid
#asahi · 2021-09-11 12:54
alyssaright, true
#asahi · 2021-09-11 12:52
alyssathe mbox is physical hardware, rtkit is just a protocol.
#asahi · 2021-09-11 12:52
alyssasven: I really dislike that on principle -- device trees are supposed to model the hardware.
#asahi · 2021-09-11 12:52
alyssamy DCP tree has that setup with some version of sven's mbox and sven's RTKit .. should probably rebase on what's on the list
#asahi · 2021-09-11 12:51
alyssaand then the NVMe driver (or whatever) calling into the RTKit library for pacakging
#asahi · 2021-09-11 12:51
alyssawith the DT describing only the physical hw mailbox
#asahi · 2021-09-11 12:51
alyssakettenis: sven and I had discussed a mailbox driver that only deals with the hardware, and then a soft RTKit library which implements all the firmware stuff on top of a generic mailbox
#asahi · 2021-09-11 12:49
alyssajmcneill: new brunswick! 😁
#asahi · 2021-09-11 11:53
alyssam1n1 is just a chainloader
#asahi · 2021-09-10 17:37
alyssaI was hoping for maritimes :-p
#asahi · 2021-09-10 17:35
alyssaAh
#asahi · 2021-09-10 15:36
alyssakrbtgt: east coast? :D
#asahi · 2021-09-10 11:56
alyssasrsly
#asahi · 2021-09-10 11:19
alyssaI'm 5 hours behind London ... I think ... except for 2 weeks of the year when europe and north america desync their daylight savings ...
#asahi · 2021-09-10 11:19
alyssaj_ey: Sounds about right
#asahi · 2021-09-10 00:07
alyssaunusually, I worked pretty hard on this slide deck. pumped for next week's asahi talk 😃
#asahi · 2021-09-10 00:07
alyssathat's enough twitter for the night :-p
#asahi · 2021-09-06 16:33
alyssa!
#asahi · 2021-09-04 12:35
alyssamarcan: rip
#asahi · 2021-09-04 12:04
alyssa(and both usb-a and ethernet use standard xhci/tg3 drivers for linux, not apple quirks there thankfully .. which makes sense given the history of Apple's chips)
#asahi · 2021-09-04 12:03
alyssa(ditto for the Ethernet)
#asahi · 2021-09-04 12:03
alyssathe USB-A ones are accessed over PCIe and hence not enumerated in the DT
#asahi · 2021-09-04 12:03
alyssaj_ey: USB-C
#asahi · 2021-09-03 19:22
alyssawoot woot
#asahi · 2021-09-01 02:23
alyssaTTBOMK there is no way to express that in existing KMS and I am not volunteering for that bikeshed.
#asahi · 2021-09-01 02:23
alyssamarcan: oh, yuck
#asahi · 2021-08-31 23:35
alyssa(Does macOS fallback to GPU for that?)
#asahi · 2021-08-31 23:35
alyssamarcan: ^ Looks indeed to be clamping to minimum 32x32 src rect, which breaks the "cursor is mostly off screen" use case
#asahi · 2021-08-31 23:17
alyssathis explains the other shrinking bug too. super annoying though.
#asahi · 2021-08-31 23:17
alyssalikewise [ 92.649505] apple-dcp 231c00000.dcp: RTKit: syslog message: UPPipeDCP_H13P.cpp:2894: IOMFB verify_scaling: layer 1[ARGB]: (64x32) -> (64x6) (min_scale=1/2, max_scale=4): illegal scaling requested
#asahi · 2021-08-31 23:17
alyssasame behaviour for a 64 pix surface, so guessing it clamps to min 32
#asahi · 2021-08-31 23:16
alyssaheh
#asahi · 2021-08-31 23:14
alyssaor maybe that's relative to a 256x256 surface, uhh
#asahi · 2021-08-31 23:14
alyssa(and below that, it crops?)
#asahi · 2021-08-31 23:13
alyssaMaybe there's a minimum crop size (32)?
#asahi · 2021-08-31 23:12
alyssa[ 270.810211] (1914, 635) -> (1920, 891)
#asahi · 2021-08-31 23:12
alyssa[ 270.809715] (0, 0) -> (6, 256)
#asahi · 2021-08-31 23:12
alyssaI wanted

plus ›