Re: [PATCH v5] drm/fb-helper: pass physical dimensions to fbdev
From: Daniel Vetter
Date: Mon Aug 07 2017 - 11:01:33 EST
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 the fbdev device.
> >
> > This has to be done in drm_setup_crtcs_fb() instead of drm_setup_crtcs()
> > because fb_helper->fbdev may be NULL in drm_setup_crtcs().
>
> Signed-off-by: David Lechner <david@xxxxxxxxxxxxxx>
Thanks, applied.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch