[PATCHv3] drm/i915/dp: Guarantee a minimum HBlank time
Murthy, Arun R
arun.r.murthy at intel.com
Thu Nov 7 09:21:35 UTC 2024
> > +
> > + if (DISPLAY_VER(intel_display) < 20)
> > + return;
> > +
> > + /* Calculate min Hblank Link Layer Symbol Cycle Count for 8b/10b MST
> & 128b/132b */
> > + hblank = DIV_ROUND_UP((DIV_ROUND_UP(adjusted_mode->htotal -
> > +adjusted_mode->hdisplay, 4) * bpp_x16), symbol_size);
>
> Okay so I didn't really think this through, but 1) do we lose precision by dividing
> by 4 first, and multiplying by bpp_x16 next, and 2) how does this take into
> account that bpp_x16 is in fact the x16 value?
>
Spec doesn't highlight more on precision, so should be fine losing the precision.
x16 is obtained from fxp_q4_form_int
Thanks and Regards,
Arun R Murthy
-------------------
More information about the Intel-gfx
mailing list