[PATCH v2 0/2] SimpleDRM: allow configuring physical width and height
Rayyan Ansari
rayyan at ansari.sh
Sat Jan 21 15:35:42 UTC 2023
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
More information about the dri-devel
mailing list