Re: [RFC PATCH] drm/simpledrm: Allow physical width and height configuration via DT

2023-01-20 Thread Rayyan Ansari
On 19/01/2023 10:01, Janne Grunau wrote: Hej, adding devicet...@vger.kernel.org and as...@lists.linux.dev to cc:, the former for the obvious devictree/bindings related questions, asahi for the prospect of supporting high DPI displays during early boot and in u-boot. On 2023-01-18 18:48:17 +

Re: [RFC PATCH] drm/simpledrm: Allow physical width and height configuration via DT

2023-01-20 Thread Rayyan Ansari
On 19/01/2023 10:44, Thomas Zimmermann wrote: (cc: devicet...@vger.kernel.org, as...@lists.linux.dev) Hi, thanks for the patch. I already wondered if the DPI value should be configurable in some way. Am 18.01.23 um 19:48 schrieb Rayyan Ansari: Hello, The following draft patch adds support f

Re: [RFC PATCH] drm/simpledrm: Allow physical width and height configuration via DT

2023-01-20 Thread Janne Grunau
Hej, adding devicet...@vger.kernel.org and as...@lists.linux.dev to cc:, the former for the obvious devictree/bindings related questions, asahi for the prospect of supporting high DPI displays during early boot and in u-boot. On 2023-01-18 18:48:17 +, Rayyan Ansari wrote: > Hello, > The fol

Re: [RFC PATCH] drm/simpledrm: Allow physical width and height configuration via DT

2023-01-19 Thread Thomas Zimmermann
(cc: devicet...@vger.kernel.org, as...@lists.linux.dev) Hi, thanks for the patch. I already wondered if the DPI value should be configurable in some way. Am 18.01.23 um 19:48 schrieb Rayyan Ansari: Hello, The following draft patch adds support for configuring the height-mm and width-mm DRM p

[RFC PATCH] drm/simpledrm: Allow physical width and height configuration via DT

2023-01-18 Thread Rayyan Ansari
Hello, The following draft patch adds support for configuring the height-mm and width-mm DRM properties in the simpledrm driver via devicetree. This is useful to get proper scaling in UIs such as Phosh. An example of using this property is this, taken from my local tree: framebuffe