From: Rayyan Ansari <rayyan@ansari.sh>
To: dri-devel@lists.freedesktop.org
Cc: ~postmarketos/upstreaming@lists.sr.ht, asahi@lists.linux.dev,
janne@jannau.net, Rayyan Ansari <rayyan@ansari.sh>,
Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>,
devicetree@vger.kernel.org, Hans de Goede <hdegoede@redhat.com>,
Javier Martinez Canillas <javierm@redhat.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Rob Herring <robh+dt@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH v2 0/2] SimpleDRM: allow configuring physical width and height
Date: Sat, 21 Jan 2023 15:35:42 +0000 [thread overview]
Message-ID: <20230121153544.467126-1-rayyan@ansari.sh> (raw)
Hello,
The following patches:
- Add support for configuring the width-mm and height-mm DRM mode
properties in the SimpleDRM driver via Device Tree
- Document these two new Device Tree properties
This is useful for allowing interfaces such as Phosh to calculate
proper scaling values.
Changes since RFC:
- Switch to using 32-bit DT property
- Report errors for return values of of_property_read_u32 except -EINVAL
- Calculate default value during probe
- Add documentation
Rayyan Ansari (2):
drm/simpledrm: Allow physical width and height configuration via DT
dt-bindings: display: simple-framebuffer: Document physical width and
height properties
.../bindings/display/simple-framebuffer.yaml | 8 +++
drivers/gpu/drm/tiny/simpledrm.c | 60 ++++++++++++++++---
2 files changed, 59 insertions(+), 9 deletions(-)
--
2.39.0
next reply other threads:[~2023-01-21 15:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-21 15:35 Rayyan Ansari [this message]
2023-01-21 15:35 ` [PATCH v2 1/2] drm/simpledrm: Allow physical width and height configuration via DT Rayyan Ansari
2023-01-26 13:05 ` Thomas Zimmermann
2023-01-21 15:35 ` [PATCH v2 2/2] dt-bindings: display: simple-framebuffer: Document physical width and height properties Rayyan Ansari
2023-01-22 15:31 ` Rob Herring
2023-01-22 17:28 ` Rayyan Ansari
2023-01-22 15:36 ` Rob Herring
2023-01-22 15:42 ` Hans de Goede
2023-01-22 17:25 ` Rayyan Ansari
2023-01-23 17:53 ` Rob Herring
2023-01-24 22:19 ` Rayyan Ansari
2023-01-24 22:40 ` Mark Kettenis
2023-01-25 7:28 ` Krzysztof Kozlowski
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=20230121153544.467126-1-rayyan@ansari.sh \
--to=rayyan@ansari.sh \
--cc=airlied@gmail.com \
--cc=asahi@lists.linux.dev \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=hdegoede@redhat.com \
--cc=janne@jannau.net \
--cc=javierm@redhat.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=tzimmermann@suse.de \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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).