#
#asahi-dev · 2024-09-22 10:09
mazwhich is why I don't want this stuff in KVM.
#asahi-dev · 2024-09-22 10:09
maznickchan: from an architecture perspective, that's not an really acceptable posture, because you don't know whether you can context-switch or not.
#asahi-dev · 2024-09-22 09:55
nickchan*whether
#asahi-dev · 2024-09-22 09:55
nickchanto hardcode where the ACTLR_EL12 accessor is available
#asahi-dev · 2024-09-22 09:54
nickchanso the reasonable thing to do is to have a MIDR_EL1 check
#asahi-dev · 2024-09-22 09:53
nickchanmaz: if you are using these registers you are already commited to IMPDEF
#asahi-dev · 2024-09-22 09:36
mazlina: as nickchan pointed out, this is hidden away in the XML. however, whether this is implemented or not is not discoverable, making the whole thing utterly useless.
#asahi-dev · 2024-09-22 07:24
nickchanmake sure you are looking at the latest versions of the documents :)
#asahi-dev · 2024-09-22 07:23
nickchanhttps://developer.arm.com/documentation/ddi0601/2024-06/AArch64-Registers/ACTLR-EL1--Auxiliary-Control-Register--EL1-
#asahi-dev · 2024-09-22 07:23
nickchanlina: ACTLR_EL12 is mentioned in Arm A-profile Architecture Registers
#asahi-dev · 2024-09-21 20:37
sand4rt:q
#asahi-dev · 2024-09-21 20:37
sand4rt:q
#asahi-dev · 2024-09-21 18:23
chaos_princesstry sending it MIPI_DCS_SET_DISPLAY_OFF or MIPI_DCS_ENTER_IDLE_MODE and see what happens
#asahi-dev · 2024-09-21 18:22
chaos_princessyes, it does
#asahi-dev · 2024-09-21 18:18
nickchanon a11 the screen dims
#asahi-dev · 2024-09-21 18:18
nickchanchaos_princess: does brightness 0 turns off touchbar backlight on m1
#asahi-dev · 2024-09-21 18:07
chaos_princesswell... on m1 iboot does fully initialize it and it comes up as just a black framebuffer
#asahi-dev · 2024-09-21 18:06
nickchansurely m1 doesn't use the touchbar as boot framebuffer
#asahi-dev · 2024-09-21 18:06
nickchanchaos_princess: what do you mean by framebuffer
#asahi-dev · 2024-09-21 17:58
chaos_princessat least on m1, by default it comes up in "free run" mode, where it constantly outputs whatever is in the frame buffer to the screen
#asahi-dev · 2024-09-21 17:58
chaos_princessif you want a way to test, comment out the call that sets fifo enable, and write stuff directly into the framebuffer
#asahi-dev · 2024-09-21 17:57
nickchanmean
#asahi-dev · 2024-09-21 17:57
nickchandisplay I maen
#asahi-dev · 2024-09-21 17:57
nickchanand the iphone x framebuffer is XRGB2101010
#asahi-dev · 2024-09-21 17:57
nickchananother thing I am worried about is that the adp driver hardcoded DRM_FORMAT_XRGB8888
#asahi-dev · 2024-09-21 17:53
chaos_princessi think you need to have dart working properly for display pipe, the driver writes translated addresses for the source buffer
#asahi-dev · 2024-09-21 17:51
nickchannote I did not specify the dart iommu properties since I have not figured out t8015-dart
#asahi-dev · 2024-09-21 17:50
nickchanthat could be an indication that it is not working properly
#asahi-dev · 2024-09-21 17:49
nickchan(gui)
#asahi-dev · 2024-09-21 17:49
nickchanat least when I disable the simplefb and try to boot the debian installer nothing comes up on screen
#asahi-dev · 2024-09-21 17:48
nickchanbacklight part is quite easy to verify whether it is working not sure about the display pipe part
#asahi-dev · 2024-09-21 17:48
chaos_princessso it just returns whatever value was last set
#asahi-dev · 2024-09-21 17:48
chaos_princesssummit does not support brightness reporting, i kinda never needed this
#asahi-dev · 2024-09-21 17:30
nickchanokay brightness reporting doesn't work although setting work but I think my devicetree is just wrong
#asahi-dev · 2024-09-21 17:05
nickchanfor brightness control
#asahi-dev · 2024-09-21 17:05
nickchansummit confirmed working a11
#asahi-dev · 2024-09-21 16:07
linaIt sounds like ARM kind of thought to specify this and never did, even though Apple implemented it officially? It would be nice to know what feature, if any, is supposed to represent this...
#asahi-dev · 2024-09-21 16:07
cy8aerjannau: better tag it asahi-6.11.0-1 ?
#asahi-dev · 2024-09-21 16:06
lina"has_actlr_virtualisation"
#asahi-dev · 2024-09-21 16:06
linahttps://developer.arm.com/documentation/100964/1125/Fast-Models-components/Core-components/AEMvACT
#asahi-dev · 2024-09-21 16:06
linamaz: I'm looking at the TSO virt stuff and I discovered something interesting... it seems on M2 and later Apple implements an architectural ACTLR_EL12 at s3_5_c1_c0_1 instead of their old IMPDEF. But it's not mentioned anywhere in ARM docs except here:
#asahi-dev · 2024-09-21 13:29
mpsdidn't noticed any serious problem
#asahi-dev · 2024-09-21 13:29
mpsnice. though I already using 6.11-rc
#asahi-dev · 2024-09-21 13:18
jannauI've pushed asahi-6.11-1 to github, please test
#asahi-dev · 2024-09-21 07:21
nickchanokay I am pretty sure I need a custom driver for the role switch controller
#asahi-dev · 2024-09-21 03:57
nickchanSo basic support for chainloading appended kernel and uart
#asahi-dev · 2024-09-21 03:57
nickchanI probably will look for upstreaming the m1n1 stuff minus the python and usb hacks
#asahi-dev · 2024-09-21 03:40
nickchanps. the pmgr stuff seems to work on a11 but I need to stop it from disabling critical stuff
#asahi-dev · 2024-09-21 03:31
nickchaninstead there is a dwc2 device controller then ohci, ehci (and xhci on some devices)
#asahi-dev · 2024-09-21 03:31
nickchanSo... dwc2 role switching aren't a thing on iPhones appearently

plus ›