On 2/2/2026 11:37 PM, Thomas Zimmermann wrote:
Hi,
thanks for fixing this issue. Just FTR, I looked through the original
implementation in the user-space driver and found the same bug. This
code was added in 2008 by commit 62c8f0a ("Bug #16545: Add G200WB
support.")
https://gitlab.freedesktop.org/xorg/driver/xf86-video-mga/-/blob/
master/src/mga_dacG.c?ref_type=heads#L740
Interesting note: the original code in the user-space driver used
usleep, and that then got translated to a udelay when coming over to the
kernel.