From: Yakir Yang <ykk@rock-chips.com>
To: Emil Velikov <emil.l.velikov@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree <devicetree@vger.kernel.org>,
Pawel Moll <pawel.moll@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
"Linux-Kernel@Vger. Kernel. Org" <linux-kernel@vger.kernel.org>,
Rob Herring <robh+dt@kernel.org>,
ML dri-devel <dri-devel@lists.freedesktop.org>,
Kumar Gala <galak@codeaurora.org>
Subject: Re: [PATCH v2 2/6] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel
Date: Sun, 12 Jun 2016 10:09:16 +0800 [thread overview]
Message-ID: <575CC44C.5030702@rock-chips.com> (raw)
In-Reply-To: <CACvgo50T++tDB-kC4=ZMRpHPxOoqn_E8+=LVbj7n_HOUgeTaMA@mail.gmail.com>
Emil,
On 06/08/2016 08:20 PM, Emil Velikov wrote:
> Hi Yakir,
>
> On 8 June 2016 at 12:52, Yakir Yang <ykk@rock-chips.com> wrote:
>> The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel
>> connected using eDP interfaces.
>>
>> Signed-off-by: Yakir Yang <ykk@rock-chips.com>
>> ---
>> Changes in v2: None
>>
>> drivers/gpu/drm/panel/panel-simple.c | 25 +++++++++++++++++++++++++
>> 1 file changed, 25 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
>> index 3a7bdf1..41020e1 100644
>> --- a/drivers/gpu/drm/panel/panel-simple.c
>> +++ b/drivers/gpu/drm/panel/panel-simple.c
>> @@ -1040,6 +1040,28 @@ static const struct panel_desc lg_lp120up1 = {
>> },
>> };
>>
>> +static const struct drm_display_mode lg_lp097qx1_spa1_mode = {
> I believe that lg_lp097qx1_spa1 should be moved/sorted before lg_lp120up1.
Ah, yes, done :)
>> +static const struct panel_desc lg_lp097qx1_spa1 = {
>> + .modes = &lg_lp097qx1_spa1_mode,
>> + .num_modes = 1,
>> + .size = {
>> + .width = 2048,
>> + .height = 1536,
> These are the physical dimensions of the panel. From the documentation
> (at the top of the file)
>
> @width: width (in millimeters) of the panel's active display area
> ...
Got it, this should be the "display area"
Display area 262.656(H) X 164.16(V) (12.2”diagonal)
Thanks,
- Yakir
>
> Thierry, perhaps it's worth renaming 'size' it to
> "physical_{size,dimensions}" and/or alike to make it clearer ?
> Looks like we have a few cases were people got confused -
> innolux_zj070na_01p and samsung_ltn101nt05.
>
> Regards,
> Emil
>
>
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
WARNING: multiple messages have this Message-ID (diff)
From: Yakir Yang <ykk@rock-chips.com>
To: Emil Velikov <emil.l.velikov@gmail.com>
Cc: David Airlie <airlied@linux.ie>,
Thierry Reding <thierry.reding@gmail.com>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Kumar Gala <galak@codeaurora.org>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
devicetree <devicetree@vger.kernel.org>,
"Linux-Kernel@Vger. Kernel. Org" <linux-kernel@vger.kernel.org>,
ML dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH v2 2/6] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel
Date: Sun, 12 Jun 2016 10:09:16 +0800 [thread overview]
Message-ID: <575CC44C.5030702@rock-chips.com> (raw)
In-Reply-To: <CACvgo50T++tDB-kC4=ZMRpHPxOoqn_E8+=LVbj7n_HOUgeTaMA@mail.gmail.com>
Emil,
On 06/08/2016 08:20 PM, Emil Velikov wrote:
> Hi Yakir,
>
> On 8 June 2016 at 12:52, Yakir Yang <ykk@rock-chips.com> wrote:
>> The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel
>> connected using eDP interfaces.
>>
>> Signed-off-by: Yakir Yang <ykk@rock-chips.com>
>> ---
>> Changes in v2: None
>>
>> drivers/gpu/drm/panel/panel-simple.c | 25 +++++++++++++++++++++++++
>> 1 file changed, 25 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
>> index 3a7bdf1..41020e1 100644
>> --- a/drivers/gpu/drm/panel/panel-simple.c
>> +++ b/drivers/gpu/drm/panel/panel-simple.c
>> @@ -1040,6 +1040,28 @@ static const struct panel_desc lg_lp120up1 = {
>> },
>> };
>>
>> +static const struct drm_display_mode lg_lp097qx1_spa1_mode = {
> I believe that lg_lp097qx1_spa1 should be moved/sorted before lg_lp120up1.
Ah, yes, done :)
>> +static const struct panel_desc lg_lp097qx1_spa1 = {
>> + .modes = &lg_lp097qx1_spa1_mode,
>> + .num_modes = 1,
>> + .size = {
>> + .width = 2048,
>> + .height = 1536,
> These are the physical dimensions of the panel. From the documentation
> (at the top of the file)
>
> @width: width (in millimeters) of the panel's active display area
> ...
Got it, this should be the "display area"
Display area 262.656(H) X 164.16(V) (12.2”diagonal)
Thanks,
- Yakir
>
> Thierry, perhaps it's worth renaming 'size' it to
> "physical_{size,dimensions}" and/or alike to make it clearer ?
> Looks like we have a few cases were people got confused -
> innolux_zj070na_01p and samsung_ltn101nt05.
>
> Regards,
> Emil
>
>
>
next prev parent reply other threads:[~2016-06-12 2:09 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-08 11:52 [PATCH v2 1/6] dt-bindings: add LG LP097QX1-SPA1 panel binding Yakir Yang
2016-06-08 11:52 ` Yakir Yang
2016-06-08 11:52 ` [PATCH v2 2/6] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel Yakir Yang
2016-06-08 11:52 ` Yakir Yang
[not found] ` <1465386753-27730-1-git-send-email-ykk-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-06-08 12:20 ` Emil Velikov
2016-06-08 12:20 ` Emil Velikov
2016-06-10 13:26 ` Thierry Reding
2016-06-12 2:09 ` Yakir Yang [this message]
2016-06-12 2:09 ` Yakir Yang
2016-06-08 11:52 ` [PATCH v2 3/6] dt-bindings: add Samsung LSN122DL01-C01 panel binding Yakir Yang
2016-06-08 11:52 ` Yakir Yang
2016-06-08 11:52 ` [PATCH v2 4/6] drm/panel: simple: Add support for Samsung LSN122DL01-C01 2560x1600 panel Yakir Yang
[not found] ` <1465386762-27816-1-git-send-email-ykk-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-06-10 0:04 ` Stéphane Marchesin
2016-06-10 0:04 ` Stéphane Marchesin
2016-06-12 2:05 ` Yakir Yang
2016-06-12 2:05 ` Yakir Yang
2016-06-08 11:52 ` [PATCH v2 5/6] dt-bindings: add Sharp LQ123P1JX31 panel binding Yakir Yang
2016-06-08 11:52 ` Yakir Yang
2016-06-08 16:31 ` Doug Anderson
2016-06-08 16:31 ` Doug Anderson
2016-06-10 13:42 ` Rob Herring
2016-06-10 13:42 ` Rob Herring
2016-06-10 16:40 ` Doug Anderson
2016-06-10 16:40 ` Doug Anderson
2016-06-10 17:54 ` Rob Herring
2016-06-10 17:54 ` Rob Herring
2016-06-10 18:08 ` Doug Anderson
2016-06-10 18:08 ` Doug Anderson
2016-06-12 2:14 ` Yakir Yang
2016-06-12 2:14 ` Yakir Yang
2016-06-08 11:52 ` [PATCH v2 6/6] drm/panel: simple: Add support for Sharp LQ123P1JX31 2400x1600 panel Yakir Yang
2016-06-08 11:52 ` Yakir Yang
2016-06-08 16:35 ` Doug Anderson
2016-06-08 16:35 ` Doug Anderson
2016-06-10 16:11 ` Doug Anderson
2016-06-10 16:11 ` Doug Anderson
2016-06-12 2:12 ` Yakir Yang
2016-06-12 2:12 ` Yakir Yang
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=575CC44C.5030702@rock-chips.com \
--to=ykk@rock-chips.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=emil.l.velikov@gmail.com \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.