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

2017-08-04 Thread David Lechner
On 08/04/2017 11:22 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

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

2017-08-04 Thread David Lechner
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