[PATCH] drm/panic: Use a decimal fifo to avoid u64 by u64 divide
Javier Martinez Canillas
javierm at redhat.com
Tue Apr 29 07:33:17 UTC 2025
Jocelyn Falempe <jfalempe at redhat.com> writes:
Hello Jocelyn,
> On 32bits ARM, u64/u64 is not supported [1], so change the algorithm
> to use a simple fifo with decimal digits as u8 instead.
> This is slower but should compile on all architecture.
>
> Link: https://lore.kernel.org/dri-devel/CANiq72ke45eOwckMhWHvmwxc03dxr4rnxxKvx+HvWdBLopZfrQ@mail.gmail.com/ [1]
> Signed-off-by: Jocelyn Falempe <jfalempe at redhat.com>
> ---
Acked-by: Javier Martinez Canillas <javierm at redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the dri-devel
mailing list