#
✕ nick:marcan
#asahi · 2021-08-03 17:33
marcanand the stuff below that is trivial, just setting up the shmem buffer, which you need to do anyway
#asahi · 2021-08-03 17:33
marcanalyssa: you can probably just call printRegs or other dummy stuff without doing the actual high level init sequence on DCP though
#asahi · 2021-08-03 17:32
marcanand for me to put my bedsheets back on and go to sleep
#asahi · 2021-08-03 17:30
marcanalyssa: that would be one heck of a hack and not very useful IMO. the problem is you need to carry over state and the linux ASC driver isn't designed to get instantiated on an already initialized device.
#asahi · 2021-08-03 17:29
marcanhowever, I expect the driver will probably tear down the iBoot mappings on init... so that should probably be fixed
#asahi · 2021-08-03 17:28
marcanalyssa: ah yeah, disp is not locked
#asahi · 2021-08-03 17:27
marcandefinitely not dcp
#asahi · 2021-08-03 17:27
marcannot sure about disp0
#asahi · 2021-08-03 17:27
marcanoh sorry
#asahi · 2021-08-03 17:27
marcandue to the lock
#asahi · 2021-08-03 17:27
marcanthough the current DART driver won't work for disp0
#asahi · 2021-08-03 17:27
marcanDART is just the iommu API, right?
#asahi · 2021-08-03 17:27
marcansure
#asahi · 2021-08-03 17:26
marcanalyssa: yes but rather useless in the grand scheme of things since we need to use DCP :p
#asahi · 2021-08-03 17:25
marcansure
#asahi · 2021-08-03 17:25
marcanalyssa: lol
#asahi · 2021-08-03 17:24
marcan(which is the current state of affairs)
#asahi · 2021-08-03 17:24
marcananyway when I said GPU I really wanted to say "not the iBoot framebuffer"
#asahi · 2021-08-03 17:24
marcanalso something DCP can do
#asahi · 2021-08-03 17:24
marcanyup
#asahi · 2021-08-03 17:24
marcanj_ey: probably on stream tomorrow
#asahi · 2021-08-03 17:23
marcanyes :p
#asahi · 2021-08-03 17:23
marcanalyssa: good luck playing video without tearing on the iBoot framebuffer
#asahi · 2021-08-03 17:23
marcanbut either way I'm going to work on the installation tools a bit this week, which will at least make it less annoying to set up for development
#asahi · 2021-08-03 17:22
marcandepends on what you do I guess, e.g. playing video without GPU is, at best, questionable (tearing...)
#asahi · 2021-08-03 17:21
marcanwe aren't really prioritizing getting stuff working so much as getting stuff working *right*, so e.g. there is no keyboard support yet, not because it's hard but because we've been busy with more interesting drivers :)
#asahi · 2021-08-03 17:20
marcanmps: I wouldn't recommend anything as a daily driver until we get the GPU working, but maybe that's just me
#asahi · 2021-08-03 16:12
marcanoh neat :)
#asahi · 2021-08-03 16:09
marcanwell that answers a lot of them
#asahi · 2021-08-03 16:09
marcanoh hey https://gist.github.com/gregcotten/16cb3902ae21b1448d71c02f1d505750
#asahi · 2021-08-03 16:02
marcanlast one is obviously the component swap
#asahi · 2021-08-03 16:02
marcanmight be useful to figure out what some of these are
#asahi · 2021-08-03 16:01
marcanthe numbers are the data in the table, probably DCP register configs or similar
#asahi · 2021-08-03 16:01
marcanall supported pixel formats with their names/aliases
#asahi · 2021-08-03 16:01
marcanj_ey, alyssa: https://mrcn.st/p/h0VPMMuj
#asahi · 2021-08-03 15:59
marcanI don't know why this weird aliasing exists
#asahi · 2021-08-03 15:59
marcanj_ey: okay so 'b3a8' also works
#asahi · 2021-08-03 15:52
marcanI love how I can just run through all possible 32-bit format codes in a couple minutes :p
#asahi · 2021-08-03 15:36
marcanwonder if I can just brute force this
#asahi · 2021-08-03 15:34
marcanyeah
#asahi · 2021-08-03 15:32
marcananyway, there's a lot of supported formats; the table has 77 entries
#asahi · 2021-08-03 15:31
marcanand some formats that are known from headers
#asahi · 2021-08-03 15:31
marcanright now I have an internal list from the DCP side that doesn't mean anything
#asahi · 2021-08-03 15:31
marcan*somewhere
#asahi · 2021-08-03 15:31
marcanwould be nice to have a list of valid pixel formats somewher
#asahi · 2021-08-03 15:31
marcandoesn't help that ARM64 does not align 16-bit constant fields, so I can't just grep binaries for this
#asahi · 2021-08-03 15:31
marcanbut what I don't know is where that constant comes from
#asahi · 2021-08-03 15:31
marcanyes, this is obviously that
#asahi · 2021-08-03 15:28
marcanI guess ultimately AGX probably
#asahi · 2021-08-03 15:26
marcanand this is from the surface def to the internal stuff... so where does the surface def come from?

plus ›