Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 1a595394b241504ff370a8d12ebfcea7 > files > 1802

kernel-doc-3.11.10-100.fc18.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>struct drm_fb_helper_funcs</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Linux DRM Developer's Guide" /><link rel="up" href="ch02s05.html#idm140203040505600" title="fbdev Helper Functions Reference" /><link rel="prev" href="API-drm-fb-helper-hotplug-event.html" title="drm_fb_helper_hotplug_event" /><link rel="next" href="API-struct-i2c-algo-dp-aux-data.html" title="struct i2c_algo_dp_aux_data" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct drm_fb_helper_funcs</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-drm-fb-helper-hotplug-event.html">Prev</a>&#160;</td><th width="60%" align="center">fbdev Helper Functions Reference</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-i2c-algo-dp-aux-data.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="API-struct-drm-fb-helper-funcs"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct drm_fb_helper_funcs &#8212; 
  driver callbacks for the fbdev emulation library
 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
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);
};  </pre></div><div class="refsect1"><a id="idm140203040271024"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">gamma_set</span></dt><dd><p>
Set the given gamma lut register on the given crtc.
      </p></dd><dt><span class="term">gamma_get</span></dt><dd><p>
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.
      </p></dd><dt><span class="term">fb_probe</span></dt><dd><p>
Driver callback to allocate and initialize the fbdev info
structure. Futhermore it also needs to allocate the drm
framebuffer used to back the fbdev.
      </p></dd><dt><span class="term">initial_config</span></dt><dd><p>
Setup an initial fbdev display configuration
      </p></dd></dl></div></div><div class="refsect1"><a id="idm140203040264352"></a><h2>Description</h2><p>
   Driver callbacks used by the fbdev emulation helper library.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-drm-fb-helper-hotplug-event.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch02s05.html#idm140203040505600">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-i2c-algo-dp-aux-data.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">drm_fb_helper_hotplug_event</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">struct i2c_algo_dp_aux_data</span></td></tr></table></div></body></html>