[PATCH] drm/atomic: Convert a warning to dbg atomic printk

Michel Dänzer michel.daenzer at mailbox.org
Tue Apr 5 17:09:54 UTC 2022


On 2022-04-04 20:21, Zack Rusin wrote:
> From: Zack Rusin <zackr at vmware.com>
> 
> By default each flip times out after 0.1 sec

10 * HZ is 10 seconds, not 0.1.

> and a warning about the time out is added to the kernel log. The warning is
> harmless because there's another flip coming right after but it can quickly fill up
> the log, e.g. missing 2 flips every second over a 24 hour span will
> add about 172 thousand lines to the log.

As we discussed before, while this might be true for the vmwgfx driver, for other drivers this message indicates that either the GPU hung, or something else went wrong spectacularly. As such, I think we do want to see these messages by default for other drivers at least.

I suspect this just papers over the real issue even with vmwgfx though.


-- 
Earthling Michel Dänzer            |                  https://redhat.com
Libre software enthusiast          |         Mesa and Xwayland developer


More information about the dri-devel mailing list