[PATCH] drm/sun4i: hdmi: Fix u64 div on 32bit arch

Maxime Ripard mripard at kernel.org
Thu Mar 14 12:46:56 UTC 2024


On Mon, 04 Mar 2024 10:12:25 +0100, Maxime Ripard wrote:
> Commit 358e76fd613a ("drm/sun4i: hdmi: Consolidate atomic_check and
> mode_valid") changed the clock rate from an unsigned long to an unsigned
> long long resulting in a a 64-bit division that might not be supported
> on all platforms.
> 
> The resulted in compilation being broken at least for m68k, xtensa and
> some arm configurations, at least.
> 
> [...]

Applied to misc/kernel.git (drm-misc-next-fixes).

Thanks!
Maxime



More information about the dri-devel mailing list