#asahi-dev · 2022-11-04 19:34
jannauyes, that is dcp(ext)#asahi-dev · 2022-11-03 17:57
jannaustill the tuneables? have you looked into using gpiola to trace macos' timing?#asahi-dev · 2022-11-03 14:18
jannauthere is a smc hwmon driver: https://github.com/jfbortolotti/linux/commit/f0c16a1402eab04b59283c2fb1b2ace3ca5c3500#asahi-dev · 2022-11-02 20:36
jannausecond problem, locking. drm has shielded us so far from most locking issues with wrt to the coprocessor communication#asahi-dev · 2022-11-02 20:31
jannautwo problems with that. We shouldn't waste a frame swap for a brightness if userspace uses atomic_commit to update the screen like wayland compositors do#asahi-dev · 2022-11-02 20:27
jannaulooks angrily towards Xorg#asahi-dev · 2022-11-02 20:26
jannauso from one annoying problem (brightness mapping) to the next one (updating brightness without atomic_commit)#asahi-dev · 2022-11-02 18:42
jannauanything to test now or is that for the linux drivers?#asahi-dev · 2022-11-02 18:17
jannaumy 5120x2160 monitor does iirc requires 4 lanes for 60Hz#asahi-dev · 2022-11-01 19:49
jannauI'm not sure if envy is the right word#asahi-dev · 2022-11-01 18:01
jannaui2c/tps6598x issue is fixed#asahi-dev · 2022-11-01 17:44
jannaudid you update the images with dockchannel hid support in u-boot after the release?#asahi-dev · 2022-11-01 17:38
jannauthanks#asahi-dev · 2022-11-01 17:37
jannaumarcan: please cherry-pick 4094df685fed5ae15feea676270611b1f483d1c0 and f9ac4113b0e9206d097df607f75c75b314a87d45 from https://github.com/jannau/linux/commits/dcp-backlight-wip#asahi-dev · 2022-11-01 17:35
jannaubrightness control is not yet ready but there might be something which can be merged#asahi-dev · 2022-11-01 15:52
jannaunot reproducible with 20 ms irq timeout (just for testing)#asahi-dev · 2022-11-01 15:06
jannauit wouldn't. I expect it to use 2 CRTCs though#asahi-dev · 2022-11-01 15:01
jannauno idea but that sounds like a problem which has to have already a solution for DP MST over thunderbolt/usb-c#asahi-dev · 2022-11-01 14:56
jannaushouldn't tiled displays just work with dcpextX,0/dcpextX,1? ut cases like thunderbolt hubs with a connected thunderbolt display and dp alt mode will require 3 connectors#asahi-dev · 2022-11-01 14:53
jannaudrm has a concept of possible connectors for each crtc (== dcpext)#asahi-dev · 2022-11-01 14:51
jannauthich can be routed to every usb-c port on the same die#asahi-dev · 2022-11-01 14:51
jannauin my model dcpext have a connector subnode#asahi-dev · 2022-11-01 14:49
jannauwouldn't that need multiple phys to work? and if that works it should also solve the die issue#asahi-dev · 2022-11-01 14:44
jannauI'll look at t600x#asahi-dev · 2022-11-01 14:43
jannausven: which part of the connector are we speaking about? the usb or the drm one?#asahi-dev · 2022-11-01 14:17
jannaucute: "[DCP:BrightnessLCD.cpp:743] [AFK]nitsToDBV: iDAC out of range" when setting maximum brightness in macos#asahi-dev · 2022-11-01 13:22
jannaualthough I think I saw it on another device#asahi-dev · 2022-11-01 13:22
jannauamarioguy: also seems to show only on (my) m2 macbook pro. marcan wants to see if it is reproducible for him#asahi-dev · 2022-11-01 13:19
jannaunot sure by which value I should norm the brightness. all devices have the same coefficients and conversion tables#asahi-dev · 2022-11-01 13:14
jannauand the adt has "calibratedMaxCurrent = 904383"#asahi-dev · 2022-11-01 13:14
jannaucoefficients are most likely 16.16 fixed point#asahi-dev · 2022-11-01 13:11
jannauthe 1st degree coefficient is only 20 times larger than the 2nd degree coefficient while the expected range of x is [0,525]#asahi-dev · 2022-11-01 13:08
jannauthe coeficients don't make much sense to in that context: 4928 + 870292 * x + 41164 * x**2#asahi-dev · 2022-11-01 13:05
jannaunits2mAmps1stOrderCoef and nits2mAmps2ndOrderCoef which is not a quadratic polynomial?#asahi-dev · 2022-11-01 13:04
jannauis there another interpration for nits2mAmps0thOrderCoef = 1245#asahi-dev · 2022-11-01 12:58
jannaugreat, I guess that means another round of installer testing#asahi-dev · 2022-11-01 12:12
jannauhappens on the front port as well, just hit a stretch over 5 reconnections without hit#asahi-dev · 2022-11-01 12:06
jannaumarcan: reproducible with the charger alone in the back port on the m2. front port appears to be fine until the issue is triggered on the back port#asahi-dev · 2022-11-01 12:00
jannauI just tried to reproduce it on j314 but it seems to be stable there#asahi-dev · 2022-11-01 11:58
jannaumarcan: yes, that's the usual start config. charger in the back port#asahi-dev · 2022-11-01 11:28
jannauhmm, not even sure if that was the relevant thread remembered#asahi-dev · 2022-11-01 11:15
jannaumarcan: I don't think it depends on the device/charger. I see it with original apple charger and anker and aukey usb-pd chargers. device was in most cases a yubikey 5 usb-c#asahi-dev · 2022-11-01 10:52
jannaufor display brightness control I write what appears to be DAC register but DCP reports back the birghtness in nits#asahi-dev · 2022-11-01 10:49
jannausigh, apple's DCP split is annoying. I have the impression someone looked at all functions and decided based on some criteria which ones need to be executed on the co-processor. after that was done both parts were stitched together to make it work#asahi-dev · 2022-11-01 10:41
jannauyes, I haven't tested it yet but based on that random delays fixed it for previously I don't doubt that it works#asahi-dev · 2022-11-01 09:58
jannausven: for usb-c maybe check the status of https://lore.kernel.org/dri-devel/20220622173605.1168416-1-pmalani@chromium.org/#asahi-dev · 2022-11-01 09:55
jannauthe dp connector is cleary written with pure dp connectors in mind#asahi-dev · 2022-11-01 09:54
jannauI looked at the existing bindings in Documentation/devicetree/bindings/display/{bridge,connector,panel} which are no good fits since they expect directly driveable hardware behind it. the connectors not so much but no usb-c connector#asahi-dev · 2022-11-01 08:46
jannauit's certainly not a good idea right now#asahi-dev · 2022-11-01 08:41
jannauwe could just embed u-boot once the upstream devicetree has enough features