#
#asahi-dev · 2023-04-11 15:19
svenI also wonder if the older atcphys already keep the fuses on pd power off and/or reset or if apple changed their kext to skip that reset
#asahi-dev · 2023-04-11 14:28
marcanwe're doing a new mesa soon anyway
#asahi-dev · 2023-04-11 14:28
marcanyeah okay
#asahi-dev · 2023-04-11 14:27
marcanahh
#asahi-dev · 2023-04-11 14:27
_jannau_see d11332288beb
#asahi-dev · 2023-04-11 14:26
_jannau_I removed the fake support for argb210101010 after alyssa added support for xrgb2101010
#asahi-dev · 2023-04-11 14:26
_jannau_no, just local testing
#asahi-dev · 2023-04-11 14:25
marcan(and why does that affect mesa?)
#asahi-dev · 2023-04-11 14:25
marcanoh, did we grow cursor plane support?
#asahi-dev · 2023-04-11 14:15
_jannau_we will need a new mesa release to retain 30 bit color support. kwin will use xrgb2101010 with argb8888 cursor overlay if both are available
#asahi-dev · 2023-04-11 14:10
_jannau_I think it can be stay as is for now it will get squashed eventually. I don't mind fixups being squashed at the next rebase
#asahi-dev · 2023-04-11 14:07
marcanand gpu
#asahi-dev · 2023-04-11 14:07
marcanso... wifi left?
#asahi-dev · 2023-04-11 14:03
marcanjannau: feel free to refactor as you see fit, I left the commits broken out so you can see what I did (except the DT squash)
#asahi-dev · 2023-04-11 14:01
marcanit just needs not to straddle an ias boundary (so the size needs to be right)
#asahi-dev · 2023-04-11 14:01
marcanhopefully I got the DART logic right but I think I did
#asahi-dev · 2023-04-11 14:00
marcan(even if ias is downgraded in locked mode)
#asahi-dev · 2023-04-11 14:00
marcan(even outside the ias)
#asahi-dev · 2023-04-11 14:00
marcanthe dma-range can contain upper bits which does what we want here
#asahi-dev · 2023-04-11 14:00
marcanI think we can get rid of the asc-dram-mask stuff entirely now, assuming this also works out on M2
#asahi-dev · 2023-04-11 13:59
marcanpushed!
#asahi-dev · 2023-04-11 13:55
_jannau_great
#asahi-dev · 2023-04-11 13:54
marcanok, let me commit :)
#asahi-dev · 2023-04-11 13:54
marcanworks!
#asahi-dev · 2023-04-11 13:53
_jannau_ah
#asahi-dev · 2023-04-11 13:53
marcanwe pick the dva
#asahi-dev · 2023-04-11 13:53
marcanwe just map it there and give it the dva
#asahi-dev · 2023-04-11 13:53
marcanit's an output
#asahi-dev · 2023-04-11 13:53
marcanno no
#asahi-dev · 2023-04-11 13:53
_jannau_that means I have to change the locked dart handling so that we can switch to unmanaged dma domains to map things at fixed dva
#asahi-dev · 2023-04-11 13:50
marcaninstead of requesting addrs, just map it by index
#asahi-dev · 2023-04-11 13:50
marcanmakes sense, this is the design fix for their stupid vuln
#asahi-dev · 2023-04-11 13:50
marcanwe're supposed to just map it there
#asahi-dev · 2023-04-11 13:50
marcanthe new u64 in the dcpep_cb_map_reg is the dva
#asahi-dev · 2023-04-11 13:49
marcanohh I think I get it
#asahi-dev · 2023-04-11 13:43
marcanbut, that's not the issue, the issue is dma_map_resource() is failing
#asahi-dev · 2023-04-11 13:43
marcanI'm using the dma-range stuff now
#asahi-dev · 2023-04-11 13:43
marcanactually just 0
#asahi-dev · 2023-04-11 13:40
_jannau_in the dcp dt node
#asahi-dev · 2023-04-11 13:40
_jannau_so 'apple,asc-dram-mask = <0x100 0x00000000>;' instead of <0x1f0 0x00000000>?
#asahi-dev · 2023-04-11 13:33
marcanI think it's missing the dma mask stuff
#asahi-dev · 2023-04-11 13:29
marcanit's the RT thing I think
#asahi-dev · 2023-04-11 13:24
_jannau_or at least it offered to disable promotion. I don't remember
#asahi-dev · 2023-04-11 13:23
_jannau_at least it did in 12.3
#asahi-dev · 2023-04-11 13:23
_jannau_macos display setting offers a selection of the refresh rate
#asahi-dev · 2023-04-11 13:23
marcanbut I don't know if macOS ever does a real modeset? maybe after DPMS?
#asahi-dev · 2023-04-11 13:23
marcanso it dies during a real modeset
#asahi-dev · 2023-04-11 13:23
_jannau_then
#asahi-dev · 2023-04-11 13:23
_jannau_disregard that
#asahi-dev · 2023-04-11 13:22
_jannau_I'd check the mapped display registers and memory mappings shared between dart-dcp and dart-disp0.4

plus ›