On Tue, Feb 22, 2022 at 02:31:21PM +1100, Jonathan Gray wrote: > On Mon, Feb 21, 2022 at 07:39:14PM -0500, Frank J. Cameron wrote: > > That patch also seems to work well on 7.1 snapshot with the drm 5.15.14: > > I don't understand why you see this after the delay.h change > for the same imac model: > > sys/dev/pci/drm/include/linux/delay.h > > ---------------------------- > revision 1.3 > date: 2020/08/18 19:50:08; author: mglocker; state: Exp; lines: +1 -1; > commitid: 5kwux8n8bT8IM82I; > Our usleep_range(min, max) implementation today is only taking account > of the min value to delay. On the iMac11,2 this was too short, causing > a timeout in the DP AUX transaction retry loop, leaving the eDP dark > after the KMS initialization attempt. Affected code line for reference: > > sys/dev/pci/drm/drm_dp_helper.c:771, revision 1.11
I booted to /obsd (7.1 GENERIKC.MP#0374 amd64) and tried it again. The last thing I saw was "radeondrm0: RV730" and the screen went black and stayed black. After a few minutes I booted the custom kernel with the atmobios_encoders.c patch (7.1 GENERIK.MP#0 amd64) and the display worked again, Let me know if there is anything you want to see from this system. dmesg: https://0x0.st/oKNW.txt