From: Soutrik Mukhopadhyay <quic_mukhopad@quicinc.com>
To: Bjorn Andersson <quic_bjorande@quicinc.com>
Cc: <vkoul@kernel.org>, <kishon@kernel.org>, <konradybcio@kernel.org>,
<andersson@kernel.org>, <simona@ffwll.ch>,
<dmitry.baryshkov@linaro.org>, <abel.vesa@linaro.org>,
<robdclark@gmail.com>, <quic_abhinavk@quicinc.com>,
<sean@poorly.run>, <marijn.suijten@somainline.org>,
<airlied@gmail.com>, <daniel@ffwll.ch>,
<maarten.lankhorst@linux.intel.com>, <mripard@kernel.org>,
<tzimmermann@suse.de>, <robh@kernel.org>, <krzk+dt@kernel.org>,
<conor+dt@kernel.org>, <quic_khsieh@quicinc.com>,
<konrad.dybcio@linaro.org>, <quic_parellan@quicinc.com>,
<linux-arm-msm@vger.kernel.org>, <linux-phy@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <dri-devel@lists.freedesktop.org>,
<freedreno@lists.freedesktop.org>, <devicetree@vger.kernel.org>,
<quic_riteshk@quicinc.com>, <quic_vproddut@quicinc.com>
Subject: Re: [PATCH 5/5] drm/msm/dp: Add DisplayPort controller for SA8775P
Date: Tue, 17 Sep 2024 13:42:54 +0530 [thread overview]
Message-ID: <b2d94fa5-6924-46f6-95cf-bde315ccbdbd@quicinc.com> (raw)
In-Reply-To: <ZuStkRFvwJT7re6D@hu-bjorande-lv.qualcomm.com>
On 9/14/2024 2:54 AM, Bjorn Andersson wrote:
> On Thu, Sep 12, 2024 at 03:34:05PM +0530, Soutrik Mukhopadhyay wrote:
>> On 9/12/2024 1:32 AM, Bjorn Andersson wrote:
>>> On Wed, Sep 11, 2024 at 03:38:13PM +0530, Soutrik Mukhopadhyay wrote:
>>>> The Qualcomm SA8775P platform comes with a DisplayPort controller
>>>> with a different base offset than the previous SoCs,
>>>> add support for this in the DisplayPort driver.
> Please check the line wrapping of this as well; the lines here should be
> wrapped at 75 columns.
Yes, it is within 75 columns, we ran checkpatch.pl before posting the patch.
>
>>>> Signed-off-by: Soutrik Mukhopadhyay <quic_mukhopad@quicinc.com>
>>>> ---
>>>> drivers/gpu/drm/msm/dp/dp_display.c | 7 +++++++
>>>> 1 file changed, 7 insertions(+)
>>>>
>>>> diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c
>>>> index e1228fb093ee..e4954fd99eb0 100644
>>>> --- a/drivers/gpu/drm/msm/dp/dp_display.c
>>>> +++ b/drivers/gpu/drm/msm/dp/dp_display.c
>>>> @@ -118,6 +118,12 @@ struct msm_dp_desc {
>>>> bool wide_bus_supported;
>>>> };
>>>> +static const struct msm_dp_desc sa8775p_dp_descs[] = {
>>>> + { .io_start = 0xaf54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
>>>> + { .io_start = 0xaf5c000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true },
>>> Why is this list incomplete?
>>>
>>> Regards,
>>> Bjorn
>>
>> Do you mean to add for mdss_1 as well?
>>
> I don't see a reason for not submitting them as well.
Sure, we will add for mdss_1 as well.
>
>> We only added dp controllers for mdss_0 as we plan to validate and enable
>> only these.
>>
> As far as I can tell there are 5 DPTX blocks on mdss_0.
>
>
> It is perfectly fine that you just state in the commit message that
> "Only MDSS0 DPTX0 and DPTX1 have been validated", but please add the
> others as well in this commit.
>
> Regards,
> Bjorn
We cross-checked the mdss architecture and found that there are only 2
dp controllers for each mdss.
We will add all 4 and mention in the commit message that "Only MDSS0
DPTX0 and DPTX1 have been validated".
>
>>>> + {}
>>>> +};
>>>> +
>>>> static const struct msm_dp_desc sc7180_dp_descs[] = {
>>>> { .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
>>>> {}
>>>> @@ -162,6 +168,7 @@ static const struct msm_dp_desc x1e80100_dp_descs[] = {
>>>> };
>>>> static const struct of_device_id dp_dt_match[] = {
>>>> + { .compatible = "qcom,sa8775p-dp", .data = &sa8775p_dp_descs },
>>>> { .compatible = "qcom,sc7180-dp", .data = &sc7180_dp_descs },
>>>> { .compatible = "qcom,sc7280-dp", .data = &sc7280_dp_descs },
>>>> { .compatible = "qcom,sc7280-edp", .data = &sc7280_dp_descs },
>>>> --
>>>> 2.17.1
>>>>
next prev parent reply other threads:[~2024-09-17 8:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-11 10:08 [PATCH 0/5] Add support for DisplayPort on SA8775P platform Soutrik Mukhopadhyay
2024-09-11 10:08 ` [PATCH 1/5] dt-bindings: phy: Add eDP PHY compatible for sa8775p Soutrik Mukhopadhyay
2024-09-11 10:08 ` [PATCH 2/5] phy: qcom: edp: Introduce aux_cfg array for version specific aux settings Soutrik Mukhopadhyay
2024-09-11 10:34 ` Dmitry Baryshkov
2024-09-12 9:36 ` Soutrik Mukhopadhyay
2024-09-12 1:45 ` Bjorn Andersson
2024-09-12 9:39 ` Soutrik Mukhopadhyay
2024-09-11 10:08 ` [PATCH 3/5] phy: qcom: edp: Add support for eDP PHY on SA8775P Soutrik Mukhopadhyay
2024-09-11 10:40 ` Dmitry Baryshkov
2024-09-12 9:56 ` Soutrik Mukhopadhyay
2024-09-11 10:08 ` [PATCH 4/5] dt-bindings: display: msm: dp-controller: document SA8775P compatible Soutrik Mukhopadhyay
2024-09-11 10:08 ` [PATCH 5/5] drm/msm/dp: Add DisplayPort controller for SA8775P Soutrik Mukhopadhyay
2024-09-11 20:02 ` Bjorn Andersson
2024-09-12 10:04 ` Soutrik Mukhopadhyay
2024-09-13 21:24 ` Bjorn Andersson
2024-09-17 8:12 ` Soutrik Mukhopadhyay [this message]
2024-09-17 13:44 ` Konrad Dybcio
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=b2d94fa5-6924-46f6-95cf-bde315ccbdbd@quicinc.com \
--to=quic_mukhopad@quicinc.com \
--cc=abel.vesa@linaro.org \
--cc=airlied@gmail.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=kishon@kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marijn.suijten@somainline.org \
--cc=mripard@kernel.org \
--cc=quic_abhinavk@quicinc.com \
--cc=quic_bjorande@quicinc.com \
--cc=quic_khsieh@quicinc.com \
--cc=quic_parellan@quicinc.com \
--cc=quic_riteshk@quicinc.com \
--cc=quic_vproddut@quicinc.com \
--cc=robdclark@gmail.com \
--cc=robh@kernel.org \
--cc=sean@poorly.run \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=vkoul@kernel.org \
/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
all inboxes | Powered by JetHome®