#
✕ nick:alyssa
#asahi · 2021-10-18 12:44
alyssaarnd: I kept trying to do that
#asahi · 2021-10-18 12:43
alyssa(did they just disable lockdep?)
#asahi · 2021-10-18 12:43
alyssaor maybe I'm just saying that because their spmi driver broke the boot because of a serious locking failure
#asahi · 2021-10-18 12:43
alyssaand agreed... rtc looked just about there, spmi looked kinda scary
#asahi · 2021-10-18 12:42
alyssa^ this is what I'm running as a daily driver
#asahi · 2021-10-18 12:42
alyssahttps://github.com/mu-one/linux/commits/20211015
#asahi · 2021-10-18 12:42
alyssaarnd: if I link it do you promise not to NAK my drm-misc commit access request? ;-p
#asahi · 2021-10-18 12:41
alyssaSo `nop` that one, at least for now
#asahi · 2021-10-18 12:41
alyssaproxyclient/hv/trace_dcp.py: "D211": "void IOMFB::UPPipe2::update_backlight_factor_prop(int)",
#asahi · 2021-10-18 12:41
alyssaalyssa@sunset:~/m1n1$ git grep D211
#asahi · 2021-10-18 12:41
alyssajmr2: m1n1/proxyclient/hv/trace_dcp.py has the function names from 11.4
#asahi · 2021-10-18 12:14
alyssaspmi and rtc, idk, the code is there, I fixed a lockdep issue (🤔) but yeah
#asahi · 2021-10-18 12:13
alyssawifi needs work
#asahi · 2021-10-18 12:13
alyssareboot will be replaced entirely by a wdt driver eventually
#asahi · 2021-10-18 12:10
alyssaof those, I've made changes to... I think all of them
#asahi · 2021-10-18 12:10
alyssareboot, spmi, rtc, and wifi are corellium code
#asahi · 2021-10-18 12:10
alyssapovik: my kernel has some corellium code in it but not much
#asahi · 2021-10-18 12:07
alyssagood to know the TimingElements/DisplayAttributes dicts are the same
#asahi · 2021-10-18 12:06
alyssajmr2: Next thing I guess is enabling the debug messages in DCP
#asahi · 2021-10-18 02:40
alyssahandling the macbook case properly takes a lot more work (see ^^), but for now you can just skip it tbh
#asahi · 2021-10-18 02:40
alyssajmr2: did you apply the rm diff I sent?
#asahi · 2021-10-18 02:39
alyssaswitch to drm_bridge, use display connector bridge, describe HDMI in the mini DT, describe panels in the macbook DTs, everyone is happy.
#asahi · 2021-10-18 02:39
alyssaok, yes
#asahi · 2021-10-18 02:36
alyssaI see how to do this now. and with 100% generic code if I don't screw it up :]
#asahi · 2021-10-18 02:35
alyssaOoh, this is what drm_bridge is for.
#asahi · 2021-10-18 02:31
alyssaso that all has to get described in the DT too. meh.
#asahi · 2021-10-18 02:31
alyssamarcan: I suppose on the Mini side, I'm currently hardcoding some stuff for HDMI
#asahi · 2021-10-18 02:25
alyssastill annoying as hell
#asahi · 2021-10-18 02:25
alyssa^DT
#asahi · 2021-10-18 02:25
alyssawidth-mm/height-mm panel props are a thing on linux
#asahi · 2021-10-18 02:23
alyssaI guess that needs to go in the macbook air / pro DTs resprectively then.
#asahi · 2021-10-18 02:23
alyssaAlright.
#asahi · 2021-10-18 02:21
alyssaMinor thing but apparently is breaking the DCP driver on Macbooks right now
#asahi · 2021-10-18 02:21
alyssaSo either it gets hardcoded in the linux DT, or maybe it's passed through the ADT
#asahi · 2021-10-18 02:20
alyssaAt least on whatever version jmr2 is on, DCP doesn't tell you for the internal panel on the macbook
#asahi · 2021-10-18 02:20
alyssafor HDMI and presumably DisplayPort, this is in the productattributes dict
#asahi · 2021-10-18 02:20
alyssamarcan: the other question is, how do I know the physical size of the display?
#asahi · 2021-10-18 02:19
alyssadoesn't care if the DT is purple and upside-down
#asahi · 2021-10-18 02:19
alyssaask robher :-p
#asahi · 2021-10-18 02:19
alyssamarcan: me? DT?
#asahi · 2021-10-18 02:19
alyssajmr2: https://rosenzweig.io/rm.txt this is worth a try
#asahi · 2021-10-18 02:19
alyssamarcan: thanks for volunteering to write the m1n1 patch
#asahi · 2021-10-18 02:18
alyssayes that could have an impact..
#asahi · 2021-10-18 02:18
alyssauh
#asahi · 2021-10-18 02:18
alyssaEverything should be broken otherwise.
#asahi · 2021-10-18 02:18
alyssaYou're on 11.4 right?
#asahi · 2021-10-18 02:18
alyssaslightly diferent from what you said but
#asahi · 2021-10-18 02:18
alyssaDCP firmware version
#asahi · 2021-10-18 02:18
alyssaEr wait yes
#asahi · 2021-10-18 02:17
alyssais typing

plus ›