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

David Lechner david at lechnology.com
Mon Aug 7 13:40:35 UTC 2017


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 at lechnology.com>


More information about the dri-devel mailing list