From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Doug Anderson <dianders@chromium.org>
Cc: Vinod Polimera <quic_vpolimer@quicinc.com>,
dri-devel <dri-devel@lists.freedesktop.org>,
linux-arm-msm <linux-arm-msm@vger.kernel.org>,
freedreno <freedreno@lists.freedesktop.org>,
LKML <linux-kernel@vger.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>, Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Rob Herring <robh+dt@kernel.org>, Rob Clark <robdclark@gmail.com>,
Sean Paul <seanpaul@chromium.org>,
Stephen Boyd <swboyd@chromium.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
Thierry Reding <thierry.reding@gmail.com>,
Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@linux.ie>,
Daniel Vetter <daniel@ffwll.ch>,
quic_kalyant@quicinc.com,
Sankeerth Billakanti <quic_sbillaka@quicinc.com>,
quic_vproddut@quicinc.com
Subject: Re: [PATCH v2 1/4] drm/msm/dp: Add basic PSR support for eDP
Date: Wed, 23 Feb 2022 00:52:50 +0300 [thread overview]
Message-ID: <490deb0b-aecb-c4a8-ea02-2c687a8da57b@linaro.org> (raw)
In-Reply-To: <CAD=FV=WJdcVEmnUvFfkJY3V2eWF2t4xkfCKNwaFHY+FwORg4VA@mail.gmail.com>
On 23/02/2022 00:32, Doug Anderson wrote:
> Hi,
>
> On Tue, Feb 22, 2022 at 1:23 PM Dmitry Baryshkov
> <dmitry.baryshkov@linaro.org> wrote:
>>
>> On 22/02/2022 22:25, Doug Anderson wrote:
>>> Hi,
>>>
>>> On Mon, Feb 21, 2022 at 7:12 PM Dmitry Baryshkov
>>> <dmitry.baryshkov@linaro.org> wrote:
>>>>
>>>>> +static int dp_link_psr_status(struct dp_link_private *link)
>>>>> +{
>>>>> + u8 status[2];
>>>>> +
>>>>> + drm_dp_dpcd_read(link->aux, DP_PSR_ERROR_STATUS, status, 2);
>>>>> +
>>>>> + if (status[0] & DP_PSR_LINK_CRC_ERROR)
>>>>> + DRM_ERROR("PSR LINK CRC ERROR\n");
>>>>> + else if (status[0] & DP_PSR_RFB_STORAGE_ERROR)
>>>>> + DRM_ERROR("PSR RFB STORAGE ERROR\n");
>>>>> + else if (status[0] & DP_PSR_VSC_SDP_UNCORRECTABLE_ERROR)
>>>>> + DRM_ERROR("PSR VSC SDP UNCORRECTABLE ERROR\n");
>>>>> + else if (status[1] & DP_PSR_CAPS_CHANGE)
>>>>> + DRM_INFO("PSR Capability Change\n");
>>>>
>>>> DRM_DEBUG_DP
>>>
>>> Not sure I'll have time to go back and review the series, but one
>>> thing that caught my eye as this flashed through my inbox is that I
>>> think all of these "shouting" are deprecated. It's even officially
>>> documented now as of commit d2f0a8afc1be ("UPSTREAM: drm/print: Add
>>> deprecation notes to DRM_...() functions").
>>
>> Agreed. But not the DRM_INFO too.
>
> You're saying that DRM_INFO _isn't_ deprecated? I was pretty sure that
> it was, too. If not, can you please submit a patch to `drm_print.h`
> clarifying since my patch (which folks Acked) marked it as deprecated:
It is deprecated
> My understanding (also in the description of my patch) was that
> DRM_INFO() by itself didn't add much so we should just use the
> standard pr_info(). If pr_info() wasn't to your liking then it was
> better to do drm_info(drmdev, ...) or drm_info(NULL, ...);
I don't think we should get this message at all, unless debugging is
enabled. Thus I asked to change DRM_INFO to DEBUG.
Regarding your point, I'm fine with either of them. Hopefully when
Kuogee's patches are in, we can use drm_dbg_db w/o any issues.
--
With best wishes
Dmitry
next prev parent reply other threads:[~2022-02-22 21:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 14:51 [PATCH v2 0/4] Add PSR support for eDP Vinod Polimera
2022-02-21 14:51 ` [PATCH v2 1/4] drm/msm/dp: Add basic " Vinod Polimera
2022-02-22 2:51 ` Dmitry Baryshkov
2022-02-22 19:25 ` Doug Anderson
2022-02-22 21:23 ` Dmitry Baryshkov
2022-02-22 21:32 ` Doug Anderson
2022-02-22 21:52 ` Dmitry Baryshkov [this message]
2022-06-21 11:06 ` Sankeerth Billakanti
2022-02-22 21:12 ` Bjorn Andersson
2022-06-21 11:14 ` Sankeerth Billakanti
2022-02-21 14:51 ` [PATCH v2 2/4] drm/bridge: use atomic enable/disable for bridge callbacks Vinod Polimera
2022-02-22 2:30 ` Dmitry Baryshkov
2022-02-22 21:19 ` Stephen Boyd
2022-02-21 14:51 ` [PATCH v2 3/4] drm/msm/disp/dpu1: use atomic enable/disable callbacks for encoder functions Vinod Polimera
2022-02-22 2:26 ` Dmitry Baryshkov
2022-06-15 11:50 ` Dmitry Baryshkov
2022-02-21 14:51 ` [PATCH v2 4/4] drm/msm/disp/dpu1: add PSR support for eDP interface in dpu driver Vinod Polimera
2022-02-22 21:29 ` Stephen Boyd
2022-06-21 11:04 ` Vinod Polimera
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=490deb0b-aecb-c4a8-ea02-2c687a8da57b@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=agross@kernel.org \
--cc=airlied@linux.ie \
--cc=bjorn.andersson@linaro.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=krzysztof.kozlowski@canonical.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_kalyant@quicinc.com \
--cc=quic_sbillaka@quicinc.com \
--cc=quic_vpolimer@quicinc.com \
--cc=quic_vproddut@quicinc.com \
--cc=robdclark@gmail.com \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=seanpaul@chromium.org \
--cc=swboyd@chromium.org \
--cc=thierry.reding@gmail.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;
as well as URLs for NNTP newsgroup(s).