#
#asahi-dev · 2023-01-20 10:48
svenyeah, that's a probe dependency issue
#asahi-dev · 2023-01-20 10:47
jannausven: dp-altmode works even when connected on boot, only the hotplug event is missing in that case. altmodes/displayport.c doesn't issue that if HPD is set during configuration
#asahi-dev · 2023-01-20 10:45
j`ey:o
#asahi-dev · 2023-01-20 10:44
chadmed_j`ey: the patch number actually went down for the first time ever with 6.2 :P
#asahi-dev · 2023-01-20 10:43
jannauprobably to late for t8110 device trees
#asahi-dev · 2023-01-20 10:38
j`eyt8110 dart support was applied by joerg, yay, 7 fewer patches in bits/020-t6000-dart
#asahi-dev · 2023-01-20 06:15
jannauamarioguy: pmc 0 and 1 are hardcoded to cycles and instructions
#asahi-dev · 2023-01-20 02:07
karpouzi(amarioguy)
#asahi-dev · 2023-01-20 02:07
karpouzihmm, feels unlikely that this would be inconsistent with x64 https://lkml.iu.edu/hypermail/linux/kernel/0511.3/1019.html
#asahi-dev · 2023-01-20 00:06
amarioguy(for apple pmcs to clarify lol)
#asahi-dev · 2023-01-20 00:06
amarioguythe asahi docs are slightly unclear on this
#asahi-dev · 2023-01-20 00:06
amarioguybtw is pmc0 always the cpu cycle register?
#asahi-dev · 2023-01-19 22:37
jannaumarcan: please move a0139ccbde88c52 "fixup! iommu: Parse translated reserved regions" from bits/200-dcp to bits/020-t6000-dart, see kernel test robot complaints
#asahi-dev · 2023-01-19 21:14
jannauhttps://oftc.irclog.whitequark.org/asahi-dev/2022-12-04#31685475; and followup on the next day
#asahi-dev · 2023-01-19 21:13
svenyeah, I remember now
#asahi-dev · 2023-01-19 21:10
jannauI think we spoke about that already last year
#asahi-dev · 2023-01-19 21:10
jannauthere are aparently some state tracking issues in there. I always get "Firmware doesn't support alternate mode overriding"
#asahi-dev · 2023-01-19 21:08
jannauah, I see it now in tps6598x_displayport_enter()
#asahi-dev · 2023-01-19 21:07
jannauyes, I have "usb: typec: tipd: Add DisplayPort alternate mode support"
#asahi-dev · 2023-01-19 20:59
svenI don’t think it’s required if we just always configure it as usb3/DP just like macOS
#asahi-dev · 2023-01-19 20:59
svenI still want to look into preventing the phy from resetting when switching to altmode
#asahi-dev · 2023-01-19 20:58
sventhat should trigger that change
#asahi-dev · 2023-01-19 20:58
svenuh, do you have that DisplayPort altmode commit?
#asahi-dev · 2023-01-19 20:52
jannauand nothing changes that during dp-altmode switching
#asahi-dev · 2023-01-19 20:50
jannauI guess it's happening since tps6598x_connect() always sets TYPEC_STATE_USB
#asahi-dev · 2023-01-19 19:00
svenuhhhh… that shouldn’t happen
#asahi-dev · 2023-01-19 18:52
jannauin atcphy_mux_set_work() is still accurate with the current dwc3 changes. I'm hitting the WARN_ON(atcphy->dwc3_online) everytime
#asahi-dev · 2023-01-19 18:50
jannaunot sure if the top comment of
#asahi-dev · 2023-01-19 18:48
jannauconsole only showing after vt switch is fixed within dcp
#asahi-dev · 2023-01-19 18:48
svenstill took two or three tries sometimes though
#asahi-dev · 2023-01-19 18:48
svenyeah, I think that was pretty stable for me as well
#asahi-dev · 2023-01-19 18:47
jannauit was yankier than I rememebered. I think I had it at one point working relieable with first connecting the usb-c-dp adapter and then connect the displayport cable
#asahi-dev · 2023-01-19 18:45
svenat least until I had a framebuffer
#asahi-dev · 2023-01-19 18:44
svenI remember it being very yanky
#asahi-dev · 2023-01-19 17:03
jannauold branch "works" but was yankier than I remembered
#asahi-dev · 2023-01-19 16:46
jannauhmm, no it was working back then despite this issue
#asahi-dev · 2023-01-19 16:36
jannauI simply don't remember my last working branch
#asahi-dev · 2023-01-19 16:28
svenhuh
#asahi-dev · 2023-01-19 16:20
jannauno, that branch has the same problem
#asahi-dev · 2023-01-19 16:15
jannautesting now my hopefully last working branch to be sure diffing is useful
#asahi-dev · 2023-01-19 16:12
jannauthe problem doesn't seem dcp related though but somewhere in dwc3/tipd/typec/atcphy
#asahi-dev · 2023-01-19 16:11
jannaunot in my current work branch based on asahi-6.2-rc3-5 with runtime pm for dcp
#asahi-dev · 2023-01-19 16:08
svenhuh, dp-altmode isn't work anymore?
#asahi-dev · 2023-01-19 16:04
jannaudwc3 doesn't powers off the phy on dp connect
#asahi-dev · 2023-01-19 16:03
jannauno obvious differences in the relevant parts to the branch which was working (I think, would make sense to verify)
#asahi-dev · 2023-01-19 16:02
jannautoo much time since I last looked at dp-altmode. problem that looks familiar but I can't remember details
#asahi-dev · 2023-01-19 13:13
svenohhhh.... and the typec subsystem stuff ofc :/
#asahi-dev · 2023-01-19 13:13
svenand removing all the duct tape and replacing it with something more sane ofc ;)
#asahi-dev · 2023-01-19 13:12
svenonce the iommu works that's the only thing left to do
#asahi-dev · 2023-01-19 13:12
jannauis there anything left to do for usb4 or is display altmode / tunneling the only thing left after tb PCIe?

plus ›