Hi,
On 11/08/2020 05:36, Laurent Pinchart wrote:
>> +{
>> + u32 max_bw, req_bw, bpp;
>> +
>> + bpp = cdns_mhdp_get_bpp(&mhdp->display_fmt);
>> + req_bw = mode->clock * bpp / 8;
>> + max_bw = lanes * rate;
> mode->clock is in kHz, while rate is expressed in 10kHz unit if I'm not
> mistaken.
Rate is in 10 kbps units. And 10 bits in DP gives you one byte (8b/10b
encoding). So max_bw is in
kBps, the same as req_bw.
Tomi
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel