[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0a6e7550-67ca-c72f-7c3a-1ed4586381a7@ti.com>
Date: Wed, 26 Aug 2020 10:26:22 +0300
From: Tomi Valkeinen <tomi.valkeinen@...com>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Swapnil Jakhade <sjakhade@...ence.com>
CC: <airlied@...ux.ie>, <daniel@...ll.ch>, <robh+dt@...nel.org>,
<a.hajda@...sung.com>, <narmstrong@...libre.com>,
<jonas@...boo.se>, <jernej.skrabec@...l.net>,
<dri-devel@...ts.freedesktop.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <mparab@...ence.com>,
<yamonkar@...ence.com>, <jsarha@...com>, <nsekhar@...com>,
<praneeth@...com>
Subject: Re: [PATCH v8 2/3] drm: bridge: Add support for Cadence MHDP DPI/DP
bridge
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
Powered by blists - more mailing lists