[PATCH] drm/i915/snps_hdmi_pll: Fix 64-bit divisor truncation by using div64_u64
Jani Nikula
jani.nikula at linux.intel.com
Mon Jun 16 08:18:25 UTC 2025
On Sun, 15 Jun 2025, "Nautiyal, Ankit K" <ankit.k.nautiyal at intel.com> wrote:
> On 6/13/2025 3:06 PM, Jani Nikula wrote:
>> On Fri, 13 Jun 2025, Ankit Nautiyal<ankit.k.nautiyal at intel.com> wrote:
>>> *ana_cp_int = max(1, min(ana_cp_int_temp, 127));
>> Unrelated to this patch, but this should be:
>>
>> *ana_cp_int = clamp(ana_cp_int_temp, 1, 127);
>>
>> There's a similar issue with ana_cp_prop also in the file.
>>
> Agreed. Should there be a separate patch for this?
Yes. That's why I emphasized "unrelated to this patch". ;)
BR,
Jani.
--
Jani Nikula, Intel
More information about the Intel-xe
mailing list