Linux Kernel
3.7.1
|
#include <drm_encoder_slave.h>
Data Fields | |
struct drm_encoder | base |
struct drm_encoder_slave_funcs * | slave_funcs |
void * | slave_priv |
void * | bus_priv |
struct drm_encoder_slave - Slave encoder struct : DRM encoder object. : Slave encoder callbacks. : Slave encoder private data. : Bus specific data.
A &drm_encoder_slave has two sets of callbacks, and the ones in . The former are never actually called by the common CRTC code, it's just a convenience for splitting the encoder functions in an upper, GPU-specific layer and a (hopefully) GPU-agnostic lower layer: It's the GPU driver responsibility to call the slave methods when appropriate.
drm_i2c_encoder_init() provides a way to get an implementation of this.
Definition at line 95 of file drm_encoder_slave.h.
struct drm_encoder base |
Definition at line 96 of file drm_encoder_slave.h.
void* bus_priv |
Definition at line 100 of file drm_encoder_slave.h.
struct drm_encoder_slave_funcs* slave_funcs |
Definition at line 98 of file drm_encoder_slave.h.
void* slave_priv |
Definition at line 99 of file drm_encoder_slave.h.