Re: [PATCH v5] drm/fb-helper: pass physical dimensions to fbdev

2017-08-07 Thread Daniel Vetter
On Mon, Aug 07, 2017 at 08:40:35AM -0500, David Lechner wrote: > On 08/04/2017 11:25 AM, David Lechner wrote: > > The fbdev subsystem has a place for physical dimensions (width and height > > in mm) that is readable by userspace. Since DRM also knows these > > dimensions, pass this information to

Re: [PATCH v5] drm/fb-helper: pass physical dimensions to fbdev

2017-08-07 Thread David Lechner
On 08/04/2017 11:25 AM, David Lechner wrote: The fbdev subsystem has a place for physical dimensions (width and height in mm) that is readable by userspace. Since DRM also knows these dimensions, pass this information to the fbdev device. This has to be done in drm_setup_crtcs_fb() instead of

Re: [PATCH v5] drm/fb-helper: pass physical dimensions to fbdev

2017-08-07 Thread Daniel Vetter
On Fri, Aug 04, 2017 at 11:25:24AM -0500, David Lechner wrote: > The fbdev subsystem has a place for physical dimensions (width and height > in mm) that is readable by userspace. Since DRM also knows these > dimensions, pass this information to the fbdev device. > > This has to be done in

Re: [PATCH v5] drm/fb-helper: pass physical dimensions to fbdev

2017-08-05 Thread David Lechner
On 08/04/2017 04:53 PM, Laurent Pinchart wrote: Hi David, Thank you for the patch. On Friday 04 Aug 2017 11:25:24 David Lechner wrote: The fbdev subsystem has a place for physical dimensions (width and height in mm) that is readable by userspace. Since DRM also knows these dimensions, pass

Re: [PATCH v5] drm/fb-helper: pass physical dimensions to fbdev

2017-08-04 Thread Laurent Pinchart
Hi David, Thank you for the patch. On Friday 04 Aug 2017 11:25:24 David Lechner wrote: > The fbdev subsystem has a place for physical dimensions (width and height > in mm) that is readable by userspace. Since DRM also knows these > dimensions, pass this information to the fbdev device. I'm