lkml.org 
[lkml]   [2020]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v8 2/3] drm: bridge: Add support for Cadence MHDP DPI/DP bridge
    From
    Date
    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

    \
     
     \ /
      Last update: 2020-08-26 09:27    [W:4.424 / U:0.208 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site