CVSROOT:        /cvs
Module name:    src
Changes by:     mgloc...@cvs.openbsd.org        2020/08/18 13:50:08

Modified files:
        sys/dev/pci/drm/include/linux: delay.h 

Log message:
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

Therefore we change the behavior of usleep_range(min, max) to delay
the average value of min and max instead, which finally fixes the KMS
initialization on the iMac11,2.

Help and ok jsg@

Reply via email to