mirror_ubuntu-kernels/drivers/gpu/drm/sun4i
Maxime Ripard 5d515eb129
drm/sun4i: hdmi: Fix u64 div on 32bit arch
Commit 358e76fd61 ("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.

Fixes: 358e76fd61 ("drm/sun4i: hdmi: Consolidate atomic_check and mode_valid")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Closes: https://lore.kernel.org/r/CA+G9fYvG9KE15PGNoLu+SBVyShe+u5HBLQ81+kK9Zop6u=ywmw@mail.gmail.com/
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202403011839.KLiXh4wC-lkp@intel.com/
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20240304091225.366325-1-mripard@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
2024-03-14 13:45:03 +01:00
..
Kconfig
Makefile drm: sun4i: rename sun4i_dotclock to sun4i_tcon_dclk 2023-05-10 16:03:10 +02:00
sun4i_backend.c drm/sun4i: Convert to platform remove callback returning void 2023-06-08 09:04:12 -07:00
sun4i_backend.h
sun4i_crtc.c
sun4i_crtc.h
sun4i_drv.c drm: Call drm_atomic_helper_shutdown() at shutdown time for misc drivers 2023-09-21 10:41:04 -07:00
sun4i_drv.h
sun4i_framebuffer.c
sun4i_framebuffer.h
sun4i_frontend.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
sun4i_frontend.h drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
sun4i_hdmi_ddc_clk.c
sun4i_hdmi_enc.c drm/sun4i: hdmi: Fix u64 div on 32bit arch 2024-03-14 13:45:03 +01:00
sun4i_hdmi_i2c.c drm: remove I2C_CLASS_DDC support 2024-01-18 21:10:41 +01:00
sun4i_hdmi_tmds_clk.c
sun4i_hdmi.h
sun4i_layer.c
sun4i_layer.h
sun4i_lvds.c
sun4i_lvds.h
sun4i_rgb.c
sun4i_rgb.h
sun4i_tcon_dclk.c drm: sun4i: rename sun4i_dotclock to sun4i_tcon_dclk 2023-05-10 16:03:10 +02:00
sun4i_tcon_dclk.h drm: sun4i: rename sun4i_dotclock to sun4i_tcon_dclk 2023-05-10 16:03:10 +02:00
sun4i_tcon.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
sun4i_tcon.h
sun4i_tv.c drm/sun4i: Convert to platform remove callback returning void 2023-06-08 09:04:12 -07:00
sun6i_drc.c drm/sun4i: Convert to platform remove callback returning void 2023-06-08 09:04:12 -07:00
sun6i_mipi_dsi.c drm/sun4i: Convert to platform remove callback returning void 2023-06-08 09:04:12 -07:00
sun6i_mipi_dsi.h drm/sun4i: dsi: Add a variant structure 2022-11-07 14:09:54 +01:00
sun8i_csc.c
sun8i_csc.h
sun8i_dw_hdmi.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
sun8i_dw_hdmi.h
sun8i_hdmi_phy_clk.c
sun8i_hdmi_phy.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
sun8i_mixer.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
sun8i_mixer.h
sun8i_tcon_top.c This pull request is full of clk driver changes. In fact, there aren't any 2023-08-30 19:53:39 -07:00
sun8i_tcon_top.h
sun8i_ui_layer.c
sun8i_ui_layer.h
sun8i_ui_scaler.c
sun8i_ui_scaler.h
sun8i_vi_layer.c
sun8i_vi_layer.h
sun8i_vi_scaler.c
sun8i_vi_scaler.h
sunxi_engine.h