[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+ASDXOXBV0gUrKMb9W2M5EGLUBLjDp4L1qRhnyor04cnS7AsQ@mail.gmail.com>
Date: Thu, 25 Jan 2018 14:51:00 -0800
From: Brian Norris <briannorris@...omium.org>
To: Andrzej Hajda <a.hajda@...sung.com>
Cc: Philippe CORNU <philippe.cornu@...com>,
Bhumika Goyal <bhumirks@...il.com>,
Alexandre TORGUE <alexandre.torgue@...com>,
David Airlie <airlied@...ux.ie>,
Linux Kernel <linux-kernel@...r.kernel.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
Yannick FERTRE <yannick.fertre@...com>,
"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Ludovic BARRE <ludovic.barre@...com>,
Mickael REULIER <mickael.reulier@...com>,
Vincent ABRIOU <vincent.abriou@...com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Thierry Reding <thierry.reding@...il.com>
Subject: Re: [PATCH v1 1/2] drm/bridge/synopsys: dsi: Fix dsi_host_transfer()
return value
On Thu, Jan 25, 2018 at 4:16 AM, Andrzej Hajda <a.hajda@...sung.com> wrote:
> On 24.01.2018 19:37, Brian Norris wrote:
>> With your current patch, you're returning the 'mipi_dsi_packet::size',
>> which is the sum of both TX and RX.
>
> I did not found docs saying mipi_dsi_packet::size is a sum of tx and rx.
> tx and rx packets are two different packets, so they do not sum up.
> But thanks for bringing it up, it shows docs are incomplete/misleading.
Ugh, I misread that again. No, mipi_dsi_packet::size is NOT claimed to
contain both TX and RX. It just says "size of the packet", and packet
clearly does not hold the RX data anyway. I don't know what's
happening to my reading comprehension...
But the mismatch on whether drivers implement these correctly and
whether any callers actually care about the documented semantics still
stands.
Brian
Powered by blists - more mailing lists