#
✕ nick:jannau
#asahi-dev · 2023-01-31 09:04
jannau2. figuring out if it is enough to use timestamps in the swap struct for 120Hz/vrr, requires a macbook pro 14"/16"
#asahi-dev · 2023-01-31 09:02
jannau1. CTM and gamma support. the former is used by nightshift on macos, gamma tables are used by other night color shift applications on macos and there's functionality in Quartz to set them
#asahi-dev · 2023-01-31 08:59
jannauI have at least 2 small dcp subtask which should be fairly standalone:
#asahi-dev · 2023-01-28 12:31
jannauthere are discussions to switch drm to gitlab. main argument against it is how to make sure everyone (most) convert to gitlab
#asahi-dev · 2023-01-28 12:09
jannauah, so it might be enabled on the other devices as well. I'll check u-boot with pcie support on the studio
#asahi-dev · 2023-01-28 12:06
jannaumarcan: I did not check the j456 adt
#asahi-dev · 2023-01-28 12:05
jannauwe could try what happens if we enable them in m1n1 since I most likely will need smc to enable the dp2hdmi converter
#asahi-dev · 2023-01-28 12:02
jannaukettenis: should be safe for asmedia as those all have a smc gpio for pwr enable
#asahi-dev · 2023-01-28 11:59
jannaunothing from my side either
#asahi-dev · 2023-01-28 11:56
jannauthey are not that useful anyway without keyboard and usb support
#asahi-dev · 2023-01-28 11:56
jannaubut we're rather late in the cycle for 6.3 anyway so let us merge them early in the next one
#asahi-dev · 2023-01-28 11:55
jannauI think it was acceptable to depend on binding changes merged through other trees if they are expected to land in the same cycle
#asahi-dev · 2023-01-28 11:51
jannaumarcan: I was planning to send the t8112 DTs as soon as I get the m2 mac mini to work
#asahi-dev · 2023-01-27 21:59
jannauerr, no. I think that's m1 traces
#asahi-dev · 2023-01-27 21:58
jannaudptx is apparently not required for getting hdmi on m2 to work, at least I don't see it used in traces
#asahi-dev · 2023-01-27 21:52
jannaulol apple: disp0 is apparently dispext[-1]: 'dispext4294967295:dcpav-service-epic:0'
#asahi-dev · 2023-01-27 20:55
jannauif you think that the reset handling will work better with a separate dwc3 driver, go for it. I didn't look into that
#asahi-dev · 2023-01-27 20:53
jannauruntime PM breaks after the first unplug since dptx is ignored
#asahi-dev · 2023-01-27 20:51
jannauI don't think it has changes in atcphy
#asahi-dev · 2023-01-27 20:50
jannaushould work at least once
#asahi-dev · 2023-01-27 20:49
jannauhttps://github.com/jannau/linux/tree/asahi-6.2-rc3-7_dp-altmode-wip with incomplete WIP changes for runtime PM and debugging patches for typec
#asahi-dev · 2023-01-27 20:47
jannausven: I have a rebases dp-altmode-wip but it's still partially busted since I switched to 13.2 / M2 dcp
#asahi-dev · 2023-01-27 14:56
jannauBLK_DEV_RAM is built as module in the normal and edge kernel of asahi and asahi-dev. I think it's just a forgotten thing from a long time ago. maybe we added that option and the kernel was initially just available in asahi-dev
#asahi-dev · 2023-01-27 09:11
jannaumaybe https://lore.kernel.org/all/20230104100116.729-5-marcan@marcan.st/
#asahi-dev · 2023-01-27 08:45
jannauif the power-domain issue is fixed it should be safe to add that to the asahi tree even if you keep working on the driver as out of tree module
#asahi-dev · 2023-01-27 08:44
jannauI haven't found a devicetree patch to add the ane node in that repo. do you have it somewhere else?
#asahi-dev · 2023-01-27 08:41
jannaueiln: RE ane power-domains. does it use more than 1 power-domain directly? if so it needs special handling in the driver. see apple_nvme_attach_genpd in drivers/nvme/host/apple.c for an example
#asahi-dev · 2023-01-26 14:02
jannauit's documented as stopping on suspend in the kernel: https://docs.kernel.org/core-api/timekeeping.html
#asahi-dev · 2023-01-25 11:31
jannaukettenis: 1gb ethernet on the m2 mini is tg3 as expected
#asahi-dev · 2023-01-25 11:19
jannauI've seen. 4 patches less and I can start thinking of submitting support for reserved regions with translation
#asahi-dev · 2023-01-25 10:24
jannauneither should the difference between m1 and m2
#asahi-dev · 2023-01-25 05:50
jannauthis seems to be sufficiently similar to the hdmi handling on the macbook pros so that we should be able to enable those too once this is working
#asahi-dev · 2023-01-25 05:44
jannauthis might be part of the reason why apple stopped bringing up hdmi in iboot
#asahi-dev · 2023-01-25 05:43
jannauthe m2 pro mac mini seems to use the same sillyness judging by the adt although apple doesn't advertise 3 thunderbolt/dp-altmode displays
#asahi-dev · 2023-01-25 05:42
jannaumarcan: yes. dcp sillyness is not playing nice so far
#asahi-dev · 2023-01-24 22:16
jannaucould be of course the missing dptx DCP EP
#asahi-dev · 2023-01-24 22:14
jannaustill unclear what replaces atc-dpxbar for the dp2hdmi out, maybe it's just the default routing
#asahi-dev · 2023-01-24 22:12
jannauno luck so far with the hdmi out. only a dumb replay of the macOS dptx-phy trace.
#asahi-dev · 2023-01-24 18:28
jannaumaybe it's just "function-force-dpfu" in dp2hdmi-gpio
#asahi-dev · 2023-01-24 18:26
jannauthere is no overall dp-switch. atc?-dpxbar are either parts of the switch or interact with the switch
#asahi-dev · 2023-01-24 18:22
jannauhave you looked at {ufp,dfp}-endpoints in display-crossbar0?
#asahi-dev · 2023-01-24 18:21
jannausven: do you understand how the dp switch is programmed? I miss the equivalent of atc?-dpxbar for the dp2hdmi converter
#asahi-dev · 2023-01-24 16:05
jannausmc
#asahi-dev · 2023-01-24 16:02
jannauhdmi out will probably take longer. it seems to require at least scm and display crossbar support in m1n1
#asahi-dev · 2023-01-24 15:59
jannaukettenis_: serial works and and I would expect it work on m1 pro/max as well
#asahi-dev · 2023-01-24 15:56
jannauit was a reference to "designed in California == rain,freezing temperatures are not expected"
#asahi-dev · 2023-01-24 14:42
jannauI'm mostly using usb serial but reset via vdmtool works in principle but I had reset it already twice via power button
#asahi-dev · 2023-01-24 14:40
jannauand the internal displays are setup by iboot
#asahi-dev · 2023-01-24 14:12
jannaudcp_iboot works finally but of course no display is detected
#asahi-dev · 2023-01-24 14:11
jannausigh, that were a lot of assumptions in the dart and vram init code which became invalid on m2

plus ›