#
#asahi-dev · 2023-03-04 14:55
svenso you finally admit to writing DCP again? :>
#asahi-dev · 2023-03-04 14:54
alyssafrankly when I started typing the drivers (DCP and Mesa) i had bigger problems than the names
#asahi-dev · 2023-03-04 14:53
alyssaPossibly it would've made more sense to go with a BSD flavoured "appledcp" name
#asahi-dev · 2023-03-04 14:53
alyssawhich gives apple/asahi as the split for display/3d
#asahi-dev · 2023-03-04 14:53
alyssa3D drivers are spicy, branding matters a lot more, use your project name
#asahi-dev · 2023-03-04 14:53
alyssadisplay controller drivers are boring, just use the vendor name
#asahi-dev · 2023-03-04 14:52
alyssarockchip/panfrost
#asahi-dev · 2023-03-04 14:52
alyssabasically just mirroring the split from my chromebook
#asahi-dev · 2023-03-04 14:51
chadmedi thought as much :P
#asahi-dev · 2023-03-04 14:51
alyssachadmed: admittedly I'm responsible for BOTH of those naming choices ;p
#asahi-dev · 2023-03-04 14:51
alyssa13:16 < chadmed> (also apple was taken by the dcp driver)
#asahi-dev · 2023-03-04 14:51
alyssa13:16 < chadmed> and alyssa called the mesa driver asahi so it makes sense to keep the kernel driver nomenclature the same
#asahi-dev · 2023-03-04 13:56
chadmedeiln: i mean thats just begging for an MR adding all that stuff in after reverse engineering it
#asahi-dev · 2023-03-04 13:50
svenI’m probably gonna bypass that typec altmode subsystem mess and just do what chrome-ec or however it’s called does and manually set the typec muxes
#asahi-dev · 2023-03-04 13:49
eilnoh man
#asahi-dev · 2023-03-04 13:49
eilnand came across https://github.com/HabanaAI/SynapseAI_Core#limitations
#asahi-dev · 2023-03-04 13:49
eilni was looking up accel userspace drivers for backend inspo
#asahi-dev · 2023-03-04 13:48
jannauneeds to finish m2 mac mini hdmi out so we can see how much of the external display out is to be blamed on tipd
#asahi-dev · 2023-03-04 13:39
chadmedcache and gddr phys yeah, mb
#asahi-dev · 2023-03-04 13:38
marcanchadmed: internet says the chiplets are just cache and everything else (GPU+media+phys+etc) is still in a single chip?
#asahi-dev · 2023-03-04 13:37
chadmedthough the infinity fabric phys are pretty big themselves
#asahi-dev · 2023-03-04 13:36
chadmedmaybe we can call navi 31 a true gpu since (most of) the non-shader core stuff got offloaded to the chiplets
#asahi-dev · 2023-03-04 13:35
marcanlots of non-GPU stuff
#asahi-dev · 2023-03-04 13:35
marcankettenis: bottom left on that navi10 shot is PCIe PHYs, all the wide top/bottom white blocks are RAM interface, lighter blocks along the mid left are probably display PHYs, etc
#asahi-dev · 2023-03-04 13:33
kettenisbut I'd say that is graphics processing
#asahi-dev · 2023-03-04 13:32
marcanI measure 56% GPU, 44% everything else
#asahi-dev · 2023-03-04 13:32
ketteniswell, media encode/decode is blurring the lines a bit ;)
#asahi-dev · 2023-03-04 13:32
marcanhttps://www.flickr.com/photos/130561288@N04/49411586768/in/photostream/ navi10 shot, the bulk of the center is obviously GPU but look at all that wide junk around the edges
#asahi-dev · 2023-03-04 13:30
chadmediirc nvidia cards have two encoding blocks too
#asahi-dev · 2023-03-04 13:29
marcan(memory/SLC being most of that, but even just display+media stuff is ~half the size of the GPU)
#asahi-dev · 2023-03-04 13:28
chadmedespecially now as vendors are starting to tack on AV1 support to all these blocks
#asahi-dev · 2023-03-04 13:28
marcanon M1 Pro, memory+cache+AVE+scaler+APR are significantly larger than the whole GPU by area
#asahi-dev · 2023-03-04 13:27
marcankettenis: you underestimate how chonky media encode/decode stuff, general memory interface, etc can be
#asahi-dev · 2023-03-04 13:27
chadmedoh that happened, neat
#asahi-dev · 2023-03-04 13:26
eilnchadmed: i do think it'll get moved to accel though
#asahi-dev · 2023-03-04 13:26
marcan(which sure is based on drm)
#asahi-dev · 2023-03-04 13:26
marcantechnically not drm, accel framework :p
#asahi-dev · 2023-03-04 13:26
ChaosPrincessisnt that accel now?
#asahi-dev · 2023-03-04 13:26
kettenis99% of the transistors on the modern AMD or nVIDIA chips are probably dedicated to the GPU functionality ;)
#asahi-dev · 2023-03-04 13:26
chadmedneural engine
#asahi-dev · 2023-03-04 13:26
ChaosPrincessthey are doing?
#asahi-dev · 2023-03-04 13:26
chadmedwhen eiln is done there will be three apple drm drivers!
#asahi-dev · 2023-03-04 13:26
chadmedwho cares who makes them
#asahi-dev · 2023-03-04 13:26
chadmedyeah it doesnt really matter, they are functionally distinct pieces of hardware
#asahi-dev · 2023-03-04 13:25
marcanjust like there are several intel, AMD, and ARM drivers
#asahi-dev · 2023-03-04 13:25
ChaosPrincessim more thinking from the point that there is 2, maybe 3 apple drivers at the root level
#asahi-dev · 2023-03-04 13:25
svenreally needs to finish display over type c support so that people don’t have to use displaylink :D
#asahi-dev · 2023-03-04 13:24
marcanthey know nothing about each other
#asahi-dev · 2023-03-04 13:24
marcanthere is zero shared code, zero direct interaction
#asahi-dev · 2023-03-04 13:24
ChaosPrincessthanks for reminding me that this cursed thing exists :P

plus ›