2024-09-24
00:02pb17 has quit [Ping timeout: 480 seconds]
00:32pb17 has joined #asahi-dev
01:00KxCORP5894000345 has quit [Quit: Bye!]
01:00ddxtanx has joined #asahi-dev
01:00KxCORP5894000345 has joined #asahi-dev
01:13opticron has quit [Ping timeout: 480 seconds]
01:14ipatch has quit [Ping timeout: 480 seconds]
01:35ipatch has joined #asahi-dev
01:46ipatch has quit [Ping timeout: 480 seconds]
01:48opticron has joined #asahi-dev
02:18pb17 has quit [Ping timeout: 480 seconds]
02:23alih has quit []
02:28tobhe_ has joined #asahi-dev
02:34tobhe has quit [Ping timeout: 480 seconds]
02:48pb17 has joined #asahi-dev
03:54nora_ has joined #asahi-dev
03:56nora has quit [Ping timeout: 480 seconds]
04:20john-cabaj has quit [Ping timeout: 480 seconds]
04:23ipatch has joined #asahi-dev
04:33pb17 has quit [Ping timeout: 480 seconds]
04:49pb17 has joined #asahi-dev
05:29ddxtanx has quit [Remote host closed the connection]
06:46pb17 has quit [Ping timeout: 480 seconds]
07:03sand4rt has joined #asahi-dev
07:08pb17 has joined #asahi-dev
07:22sand4rt has quit [Quit: WeeChat 4.4.2]
07:26ddxtanx has joined #asahi-dev
08:00sand4rt has joined #asahi-dev
08:12opticron has quit [Read error: Connection reset by peer]
08:12opticron has joined #asahi-dev
08:18weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
08:27weitcis has joined #asahi-dev
08:29nela has quit [Ping timeout: 480 seconds]
08:30JayBeeFOSS has quit [Ping timeout: 480 seconds]
08:31JayBeeFOSS has joined #asahi-dev
08:36pb17 has quit [Ping timeout: 480 seconds]
08:55pb17 has joined #asahi-dev
09:12midou has joined #asahi-dev
09:46allmazz has joined #asahi-dev
09:58Tramtris1 has joined #asahi-dev
10:00tramtrist has quit [Ping timeout: 480 seconds]
10:05Tramtris1 is now known as Tramtrist
10:06pb17 has quit [Ping timeout: 480 seconds]
10:30___nick___ has joined #asahi-dev
10:53pb17 has joined #asahi-dev
10:59qdot has joined #asahi-dev
11:02rafsan has joined #asahi-dev
11:07sand4rt has quit [Quit: WeeChat 4.4.2]
11:19rafsan has quit [Quit: rafsan]
11:20rafsan has joined #asahi-dev
11:43rafsan has quit [Quit: rafsan]
12:07pb17 has quit [Ping timeout: 480 seconds]
12:08Tramtrist has quit [Remote host closed the connection]
12:19sand4rt has joined #asahi-dev
12:48pb17 has joined #asahi-dev
13:08alih has joined #asahi-dev
13:42john-cabaj has joined #asahi-dev
14:23pb17 has quit [Ping timeout: 480 seconds]
14:32malfunction54 has quit [Remote host closed the connection]
14:32malfunction54 has joined #asahi-dev
14:47sand4rt has quit [Ping timeout: 480 seconds]
14:53chaos_princessyea, i guess it has extra bits on primary display, and other devices send 2 bytes there https://elixir.bootlin.com/linux/v6.11/source/drivers/gpu/drm/drm_mipi_dsi.c#L1342
14:53chaos_princessunfortunately, i do not have the pdf of the version of mipi dcs spec that has that command
14:55chaos_princessNo need, just add a of property
14:55chaos_princesshttps://github.com/AsahiLinux/linux/blob/bd0a1a7d465fcb60685a2360565ed424bafff354/drivers/gpu/drm/adp/panel-summit.c#L49
14:55chaos_princessand fill it from there
14:55chaos_princessm1 display should accept a 2 byte command too in theory
15:02ipatch has quit [Quit: WeeChat 4.4.1]
15:03pb17 has joined #asahi-dev
15:13ipatch has joined #asahi-dev
15:31chaos_princessdo you have a device tree?
15:33chaos_princessin m1 device trees the relevant one is described as mipi-dsim
15:33chaos_princessonly one mmio address there
15:34chaos_princesshttps://github.com/AsahiLinux/linux/blob/asahi/drivers/gpu/drm/adp/adp_drv.c#L72 - here are the relevant offsets
15:36chaos_princessalso, remind me later today, i might have some of my research notes saved
15:38chaos_princessmakes sense, log2(2048) is 1
15:39chaos_princess99% sure it will, from poking at it in general, it implements a lot of mipi spec
15:54sand4rt has joined #asahi-dev
16:00nickchanchaos_princess: https://github.com/asdfugil/linux-apple/commit/5e41e1ab0cac1fbc04c1c84ffead3b8c904d306e https://github.com/asdfugil/linux-apple/commit/f5ee205c2b8a023aaa5e637e10808a838e7968be hopefully these changes won't break the m1
16:01chaos_princesssure, will test in a bit
16:05ipatch has quit [Ping timeout: 480 seconds]
16:08nickchanhttps://github.com/asdfugil/linux-apple/commits/apple/bits/060-adp/ okay just pick the most recent two non-dts commit
16:09chaos_princesssince you are touching it all anyway, it might make sense to use this helper https://elixir.bootlin.com/linux/v6.11/source/drivers/gpu/drm/drm_mipi_dsi.c#L1339
16:10chaos_princessbut it does write 16 bits, no?
16:15pb17 has quit [Ping timeout: 480 seconds]
16:34nickchannot going to propose any changes to the compaitble until I have the whole driver working though
16:41chaos_princessnow im kinda sad that my iphone 10 went spicy pillow and shattered the screen some time ago :P
16:46nickchanthe amount of blocks that's still seemingly compatible going back 10 generation to A7 is very sigificant
16:48billak has joined #asahi-dev
17:01billak has quit [Quit: Konversation terminated!]
17:10ipatch has joined #asahi-dev
17:21pb17 has joined #asahi-dev
17:40ipatch has quit [Ping timeout: 480 seconds]
17:57ipatch has joined #asahi-dev
18:32balrog_ has joined #asahi-dev
18:32balrog has quit [Ping timeout: 480 seconds]
18:38sand4rt has quit [Ping timeout: 480 seconds]
18:54___nick___ has quit []
18:56___nick___ has joined #asahi-dev
18:57___nick___ has quit []
18:58jannautobhe_: do you have usb proxy access to m1n1 on the black screen sequoia/m1n1-1.415 macbook? m1n1 log would be helpful
18:59___nick___ has joined #asahi-dev
19:03ipatch has quit [Ping timeout: 480 seconds]
19:06pb17 has quit [Ping timeout: 480 seconds]
19:24ipatch has joined #asahi-dev
19:51pb17 has joined #asahi-dev
20:04___nick___ has quit [Remote host closed the connection]
20:09tobhe_ is now known as tobhe
20:23sand4rt has joined #asahi-dev
20:27jannautobhe: if you're kernel has CONFIG_MTD_PHRAM you could patch your 2nd stage m1n1 with https://github.com/AsahiLinux/m1n1/pull/399 if you have ssh access
21:01sand4rt has quit [Ping timeout: 480 seconds]
21:03cow123 has joined #asahi-dev
21:23chrisl has quit [Remote host closed the connection]
21:23chrisl has joined #asahi-dev
21:26sand4rt has joined #asahi-dev
21:34ipatch has quit [Ping timeout: 480 seconds]
21:44pb17 has quit [Ping timeout: 480 seconds]
21:50sand4rt has quit [Ping timeout: 480 seconds]
22:08tobheyour m1n1 patches work. interestingly I can't trigger the problem now, instead of being entirely dark the backlight is off during boot and comes back with my graphical session starting.
22:09cow123 has quit [Ping timeout: 480 seconds]
22:14john-cabaj has quit [Ping timeout: 480 seconds]
22:18cow123 has joined #asahi-dev
22:25pb17 has joined #asahi-dev
22:25ddxtanx has quit [Remote host closed the connection]
22:55jannauif you can still find apple-dcp log messages for the weird boots please attach them in the issue
23:03sting has joined #asahi-dev
23:04ipatch has joined #asahi-dev
23:05kettenis has joined #asahi-dev
23:49pb17 has quit [Ping timeout: 480 seconds]