From: Philippe CORNU <philippe.cornu@st.com>
To: Archit Taneja <architt@codeaurora.org>,
Brian Norris <briannorris@chromium.org>
Cc: "linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
"linux-rockchip@lists.infradead.org"
<linux-rockchip@lists.infradead.org>,
David Airlie <airlied@linux.ie>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"Yannick FERTRE" <yannick.fertre@st.com>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Ludovic BARRE <ludovic.barre@st.com>,
Mickael REULIER <mickael.reulier@st.com>,
Vincent ABRIOU <vincent.abriou@st.com>,
Bhumika Goyal <bhumirks@gmail.com>,
Alexandre TORGUE <alexandre.torgue@st.com>
Subject: Re: [PATCH v2 1/2] drm/bridge/synopsys: dsi: Add a warning msg on dsi read requests
Date: Tue, 30 Jan 2018 14:29:13 +0000 [thread overview]
Message-ID: <75fe97b4-ff59-e7cf-3f0c-085b281ead80@st.com> (raw)
In-Reply-To: <18888350-d764-f6bd-5285-a7fac3d300e0@codeaurora.org>
Hi Archit,
And many thanks,
Philippe :-)
On 01/30/2018 03:09 PM, Archit Taneja wrote:
>
>
> On 01/26/2018 06:14 AM, Brian Norris wrote:
>> On Thu, Jan 25, 2018 at 11:37:59AM +0100, Philippe Cornu wrote:
>>> The dcs/generic dsi read feature is not yet implemented so it
>>> is important to warn the host_transfer() caller in case of
>>> read operation requests.
>>>
>>> Signed-off-by: Philippe Cornu <philippe.cornu@st.com>
>>
>> Awesome, thanks.
>>
>> Reviewed-by: Brian Norris <briannorris@chromium.org>
>>
>
> Queued to drm-misc-next.
>
> Thanks,
> Archit
>
>>> ---
>>> drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 ++++++
>>> 1 file changed, 6 insertions(+)
>>>
>>> diff --git a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
>>> b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
>>> index daec7881be6d..72ecaeb40822 100644
>>> --- a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
>>> +++ b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
>>> @@ -405,6 +405,12 @@ static ssize_t dw_mipi_dsi_host_transfer(struct
>>> mipi_dsi_host *host,
>>> struct mipi_dsi_packet packet;
>>> int ret;
>>> + if (msg->rx_buf || msg->rx_len) {
>>> + /* TODO dw drv improvements: implement read feature */
>>> + dev_warn(dsi->dev, "read operations not yet implemented\n");
>>> + return -EINVAL;
>>> + }
>>> +
>>> ret = mipi_dsi_create_packet(&packet, msg);
>>> if (ret) {
>>> dev_err(dsi->dev, "failed to create packet: %d\n", ret);
>>> --
>>> 2.15.1
>>>
>
next prev parent reply other threads:[~2018-01-30 14:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-25 10:37 [PATCH v2 0/2] drm/bridge/synopsys: dsi: Add fix & warning in dsi_host_transfer() Philippe Cornu
2018-01-25 10:37 ` [PATCH v2 1/2] drm/bridge/synopsys: dsi: Add a warning msg on dsi read requests Philippe Cornu
2018-01-26 0:44 ` Brian Norris
2018-01-30 14:09 ` Archit Taneja
2018-01-30 14:29 ` Philippe CORNU [this message]
2018-01-25 10:38 ` [PATCH v2 2/2] drm/bridge/synopsys: dsi: Fix dsi_host_transfer() return value Philippe Cornu
2018-01-26 0:46 ` Brian Norris
2018-01-30 14:09 ` Archit Taneja
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=75fe97b4-ff59-e7cf-3f0c-085b281ead80@st.com \
--to=philippe.cornu@st.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@linux.ie \
--cc=alexandre.torgue@st.com \
--cc=architt@codeaurora.org \
--cc=bhumirks@gmail.com \
--cc=briannorris@chromium.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=ludovic.barre@st.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=mickael.reulier@st.com \
--cc=vincent.abriou@st.com \
--cc=yannick.fertre@st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome