On Mon, Sep 28, 2026 at 08:09:34AM +0200, [email protected] wrote:
> hi
> 
> upgraded my work t470s this morning to latest snap (previously running a
> snap from the 6), first noticed that wsconsctl during boot was stuck on
> ww_mutex_lock (^T showed it making no progress) and the laptop lid was
> 'flashing' every ~10s or so.
> 
> moved my wsconsctl.conf away, X wouldnt start anyway (Xorg.0.log
> attached)
> 
> bisected previous kernels from the archive:
> #56: Fri Sep 25 11:32:45 MDT 2026 is bad
> #55: Wed Sep 23 14:37:23 MDT 2026 is good (eg screen wont flash during
> boot msgs and X starts)

Likely the sleep changes.  Does this diff to revert them help?

Index: sys/dev/pci/drm/include/linux/delay.h
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/include/linux/delay.h,v
diff -u -p -r1.9 delay.h
--- sys/dev/pci/drm/include/linux/delay.h       25 Sep 2026 12:12:53 -0000      
1.9
+++ sys/dev/pci/drm/include/linux/delay.h       28 Sep 2026 06:46:13 -0000
@@ -21,7 +21,7 @@ ndelay(unsigned long nsecs)
 static inline void
 usleep_range(unsigned long min, unsigned long max)
 {
-       tsleep_nsec(&nowake, PWAIT, "usleep", USEC_TO_NSEC(min));
+       DELAY((min + max) / 2);
 }
 
 /* XXX assumes state is TASK_UNINTERRUPTIBLE */
@@ -39,19 +39,12 @@ mdelay(unsigned long msecs)
                DELAY(1000);
 }
 
-static inline void
-drm_msleep(unsigned int msecs)
-{
-       tsleep_nsec(&nowake, PWAIT, "drmmsleep", MSEC_TO_NSEC(msecs));
-}
+#define drm_msleep(x)          mdelay(x)
 
 static inline void
 fsleep(unsigned long usecs)
 {
-       if (usecs <= 10)
-               DELAY(usecs);
-       else
-               tsleep_nsec(&nowake, PWAIT, "fsleep", USEC_TO_NSEC(usecs));
+       DELAY(usecs);
 }
 
 static inline unsigned int

Reply via email to