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

From: David Lechner
Date: Mon Aug 07 2017 - 09:40:43 EST

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>