#
✕ nick:marcan
#asahi-dev · 2022-10-24 12:40
marcanis that supposed to happen?
#asahi-dev · 2022-10-24 12:40
marcan[ 2.573136] apple-drm soc:display-subsystem: [drm] Cannot find any crtc or sizes
#asahi-dev · 2022-10-24 12:40
marcanI don't see backlight leak
#asahi-dev · 2022-10-24 12:39
marcanthis might just be brightness=0?
#asahi-dev · 2022-10-24 12:38
marcanI think I had an old m1n1, it came up now but black screen
#asahi-dev · 2022-10-24 12:38
marcanah, that was someone else with lina's old branch, yeah
#asahi-dev · 2022-10-24 12:37
marcanI may have screwed up some patch
#asahi-dev · 2022-10-24 12:37
marcanwith my merge
#asahi-dev · 2022-10-24 12:36
marcanno, it's just dead, it's the dart I think
#asahi-dev · 2022-10-24 12:35
marcanlet me see what's up
#asahi-dev · 2022-10-24 12:35
marcanjannau: well, it times out on RTKit boot on an M1 Air, so not a good start :p
#asahi-dev · 2022-10-24 12:26
marcanjannau: someone reported random brightness lowering on closing certain WMs
#asahi-dev · 2022-10-24 12:25
marcanfixed
#asahi-dev · 2022-10-24 12:25
marcanj`ey: whoops, that was a mistake
#asahi-dev · 2022-10-24 12:05
marcanj`ey: rust is supposed to be 0, that's why it's a base (and there is no lina)
#asahi-dev · 2022-10-24 11:30
marcanI assume there's some way to remove branches that were removed upstream
#asahi-dev · 2022-10-24 11:29
marcanoh wait, you have junk branches
#asahi-dev · 2022-10-24 11:29
marcanj`ey: did you fetch everything? it should not
#asahi-dev · 2022-10-24 10:59
marcanthat tells you stats per branch and correctly handles (ignores) base branch merges, the way I'm doing it now
#asahi-dev · 2022-10-24 10:59
marcanfor those who like playing with patch stats: https://gist.github.com/marcan/b4328c490ff4f4f6d45509ac117edb93
#asahi-dev · 2022-10-24 10:06
marcansven: maybe the message size is off and it uses that to advance the ring?
#asahi-dev · 2022-10-24 09:52
marcanit has this thing where if a message doesn't fit at the tail of the buffer, you're supposed to just have the header there and then the header again at 0
#asahi-dev · 2022-10-24 09:52
marcansven: did you get the wrapping behavior correct?
#asahi-dev · 2022-10-24 08:25
marcanj`ey: yeah but I need to cast it :p
#asahi-dev · 2022-10-24 08:25
marcanoh, __force
#asahi-dev · 2022-10-24 08:23
marcan... I have no idea what the right way to shut it up here is, short of converting through an int and back which is dumb
#asahi-dev · 2022-10-24 08:23
marcanwell yeah duh, it's an ERR_PTR now
#asahi-dev · 2022-10-24 08:23
marcan return (void *)dockchannel->config_base;
#asahi-dev · 2022-10-24 08:23
marcan if (IS_ERR(dockchannel->config_base))
#asahi-dev · 2022-10-24 08:23
marcandrivers/soc/apple/dockchannel.c:229:25: sparse: sparse: cast removes address space '__iomem' of expression
#asahi-dev · 2022-10-24 08:23
marcanoh come on sparse
#asahi-dev · 2022-10-24 08:17
marcansometimes it's questionable... I'm adding those to spi-hid-apple-core because there's a chance a crazy person exists that will try to connect a modern Apple SPI trackpad to a PowerBook or something
#asahi-dev · 2022-10-24 08:15
marcanwhich seems like more noise than anything on drivers for SoC devices
#asahi-dev · 2022-10-24 08:15
marcanbut then we need to use cpu_to_le16 etc everywhere or else sparse complains
#asahi-dev · 2022-10-24 08:15
marcanyeah, exactly
#asahi-dev · 2022-10-24 08:08
marcanmaybe just not use __leXX types at all? but that feels wrong in its own way
#asahi-dev · 2022-10-24 08:07
marcanthere's a lot of test robot spam about mixing endianness types, but I get the feeling the solution here isn't to add a truckload of dummy endian conversions to drivers which are guaranteed to never need them
#asahi-dev · 2022-10-24 08:07
marcandoes anyone know what the kernel policy is re sparse and drivers that will only ever run in same-endian platforms?
#asahi-dev · 2022-10-24 08:00
marcanjannau: I want to merge DCP today, just doing some cleanup first
#asahi-dev · 2022-10-24 03:47
marcansingle stepping helps too
#asahi-dev · 2022-10-24 03:46
marcan(radeon F32)
#asahi-dev · 2022-10-24 03:46
marcanI've reverse engineered custom ISAs before, it's not terribly hard once you can load your own code and get some output from it
#asahi-dev · 2022-10-23 16:55
marcanthat means the user did something wrong
#asahi-dev · 2022-10-23 16:55
marcanand given the DT mismatch, I don't think we should allow booting from other nvme ESPs, yeah
#asahi-dev · 2022-10-23 16:54
marcanbut I don't think it's something we ever want to offer to end users by default
#asahi-dev · 2022-10-23 16:54
marcanif you're hacking around manually, sure
#asahi-dev · 2022-10-23 16:54
marcanhaving several co-habitating OSes with a single ESP probably won't be a supported config ever if you want to have everything work as expected with automation
#asahi-dev · 2022-10-23 16:53
marcanbooting via USB is a special case where the USB OS should not be mucking around with the system ESP in principle
#asahi-dev · 2022-10-23 16:53
marcanthere's a single set of DTs, a single firmware bundle, and I bet a world of pain once SEP support is in
#asahi-dev · 2022-10-23 16:53
marcansingle ESP with multiple OSes installed is "supported" in the "you get to keep the pieces when it breaks" sense

plus ›