RE: [PATCHv3] drm/i915/dp: Guarantee a minimum HBlank time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > +
> > +	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
-------------------




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux