mbox series

[v4,0/2] SimpleDRM: allow configuring physical width and height

Message ID 20230126182435.70544-1-rayyan@ansari.sh
Headers show
Series SimpleDRM: allow configuring physical width and height | expand

Message

Rayyan Ansari Jan. 26, 2023, 6:24 p.m. UTC
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 and for early boot code knowing if hi-dpi
rendering is necessary.

Changes since v3:
- Use panel node

Rayyan Ansari (2):
  drm/simpledrm: Allow physical width and height configuration via panel
    node
  dt-bindings: display: simple-framebuffer: Document the panel node

 .../bindings/display/simple-framebuffer.yaml  |  9 ++++++
 drivers/gpu/drm/tiny/simpledrm.c              | 32 +++++++++++++------
 2 files changed, 32 insertions(+), 9 deletions(-)

Comments

Rob Herring (Arm) Jan. 30, 2023, 7:01 p.m. UTC | #1
On Thu, 26 Jan 2023 18:24:35 +0000, Rayyan Ansari wrote:
> Document the new panel node and what it is used for.
> 
> Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
> ---
>  .../devicetree/bindings/display/simple-framebuffer.yaml  | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Thomas Zimmermann Jan. 31, 2023, 9:42 a.m. UTC | #2
Hi,

thanks a lot. I've added your patches to drm-misc-next. They should be 
in Linux v6.4.

Best regards
Thomas

Am 26.01.23 um 19:24 schrieb Rayyan Ansari:
> 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 and for early boot code knowing if hi-dpi
> rendering is necessary.
> 
> Changes since v3:
> - Use panel node
> 
> Rayyan Ansari (2):
>    drm/simpledrm: Allow physical width and height configuration via panel
>      node
>    dt-bindings: display: simple-framebuffer: Document the panel node
> 
>   .../bindings/display/simple-framebuffer.yaml  |  9 ++++++
>   drivers/gpu/drm/tiny/simpledrm.c              | 32 +++++++++++++------
>   2 files changed, 32 insertions(+), 9 deletions(-)
>