mbox series

[5.10/5.15,0/1] drm/i915: Fix possible int overflow in skl_ddi_calculate_wrpll()

Message ID 20240919143607.14178-1-n.zhandarovich@fintech.ru (mailing list archive)
Headers show
Series drm/i915: Fix possible int overflow in skl_ddi_calculate_wrpll() | expand

Message

Nikita Zhandarovich Sept. 19, 2024, 2:36 p.m. UTC
This patch addresses issues of integer overflow and possibly erroneous
integer promotion in skl_ddi_calculate_wrpll() and
skl_ddi_hdmi_pll_dividers() in kernel versions 5.10 and 5.15.

The problem has been fixed in upstream and stable versions up to 6.1
with commit:
5b5115726601 ("drm/i915: Fix possible int overflow in skl_ddi_calculate_wrpll()")

Due to changes to skl_ddi_calculate_wrpll() return value the patch had
to be slightly modified during cherry-picking, leaving the original
fix intact, and can now be cleanly applied to 5.10 and 5.15 kernels.