Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

drm_crtc_helper_set_mode(9) [centos man page]

DRM_CRTC_HELPER_SET_(9) 					   DRM Internals					   DRM_CRTC_HELPER_SET_(9)

NAME
drm_crtc_helper_set_mode - internal helper to set a mode SYNOPSIS
bool drm_crtc_helper_set_mode(struct drm_crtc * crtc, struct drm_display_mode * mode, int x, int y, struct drm_framebuffer * old_fb); ARGUMENTS
crtc CRTC to program mode mode to use x horizontal offset into the surface y vertical offset into the surface old_fb old framebuffer, for cleanup LOCKING
Caller must hold mode config lock. Try to set mode on crtc. Give crtc and its associated connectors a chance to fixup or reject the mode prior to trying to set it. This is an internal helper that drivers could e.g. use to update properties that require the entire output pipe to be disabled and re-enabled in a new configuration. For example for changing whether audio is enabled on a hdmi link or for changing panel fitter or dither attributes. It is also called by the drm_crtc_helper_set_config helper function to drive the mode setting sequence. RETURNS
True if the mode was set successfully, or false otherwise. AUTHORS
Jesse Barnes <jesse.barnes@intel.com> Intel Corporation, Initial version Laurent Pinchart <laurent.pinchart@ideasonboard.com> Ideas on board SPRL, Driver internals COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 DRM_CRTC_HELPER_SET_(9)

Check Out this Related Man Page

STRUCT 
DRM_FB_HELPER(9) DRM Internals STRUCT DRM_FB_HELPER(9) NAME
struct_drm_fb_helper_funcs - driver callbacks for the fbdev emulation library SYNOPSIS
struct drm_fb_helper_funcs { void (* gamma_set) (struct drm_crtc *crtc, u16 red, u16 green,u16 blue, int regno); void (* gamma_get) (struct drm_crtc *crtc, u16 *red, u16 *green,u16 *blue, int regno); int (* fb_probe) (struct drm_fb_helper *helper,struct drm_fb_helper_surface_size *sizes); bool (* initial_config) (struct drm_fb_helper *fb_helper,struct drm_fb_helper_crtc **crtcs,struct drm_display_mode **modes,bool *enabled, int width, int height); }; MEMBERS
gamma_set Set the given gamma lut register on the given crtc. gamma_get Read the given gamma lut register on the given crtc, used to save the current lut when force-restoring the fbdev for e.g. kdbg. fb_probe Driver callback to allocate and initialize the fbdev info structure. Futhermore it also needs to allocate the drm framebuffer used to back the fbdev. initial_config Setup an initial fbdev display configuration DESCRIPTION
Driver callbacks used by the fbdev emulation helper library. AUTHORS
Jesse Barnes <jesse.barnes@intel.com> Intel Corporation, Initial version Laurent Pinchart <laurent.pinchart@ideasonboard.com> Ideas on board SPRL, Driver internals COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT DRM_FB_HELPER(9)
Man Page