DRM_FB_HELPER_INITIA(9) DRM Internals DRM_FB_HELPER_INITIA(9)NAMEdrm_fb_helper_initial_config - setup a sane initial connector
configuration
SYNOPSIS
bool drm_fb_helper_initial_config(struct drm_fb_helper * fb_helper,
int bpp_sel);
ARGUMENTS
fb_helper
fb_helper device struct
bpp_sel
bpp value to use for the framebuffer configuration
LOCKING
Called at init time by the driver to set up the fb_helper initial
configuration, must take the mode config lock.
Scans the CRTCs and connectors and tries to put together an initial
setup. At the moment, this is a cloned configuration across all heads
with a new framebuffer object as the backing store.
RETURNS
Zero if everything went ok, nonzero otherwise.
AUTHORS
Jesse Barnes <jesse.barnes@intel.com>
Intel Corporation,
Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Ideas on board SPRL,
Driver internals
COPYRIGHTKernel Hackers Manual 3.8. June 2014 DRM_FB_HELPER_INITIA(9)