XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Functions
drm_simple_kms_helper.h File Reference
#include <drm/drm_crtc.h>
#include <drm/drm_encoder.h>
#include <drm/drm_plane.h>
Include dependency graph for drm_simple_kms_helper.h:

Go to the source code of this file.

Classes

struct  drm_simple_display_pipe_funcs
 
struct  drm_simple_display_pipe
 

Macros

#define drmm_simple_encoder_alloc(dev, type, member, encoder_type)
 

Functions

int drm_simple_display_pipe_attach_bridge (struct drm_simple_display_pipe *pipe, struct drm_bridge *bridge)
 
int drm_simple_display_pipe_init (struct drm_device *dev, struct drm_simple_display_pipe *pipe, const struct drm_simple_display_pipe_funcs *funcs, const uint32_t *formats, unsigned int format_count, const uint64_t *format_modifiers, struct drm_connector *connector)
 
int drm_simple_encoder_init (struct drm_device *dev, struct drm_encoder *encoder, int encoder_type)
 
void * __drmm_simple_encoder_alloc (struct drm_device *dev, size_t size, size_t offset, int encoder_type)
 

Macro Definition Documentation

◆ drmm_simple_encoder_alloc

#define drmm_simple_encoder_alloc (   dev,
  type,
  member,
  encoder_type 
)
Value:
((type *)__drmm_simple_encoder_alloc(dev, sizeof(type), \
offsetof(type, member), \
struct drm_encoder const struct drm_encoder_funcs int encoder_type
Definition drm_encoder.h:213
const struct device * dev
Definition drm_print.h:519
void * __drmm_simple_encoder_alloc(struct drm_device *dev, size_t size, size_t offset, int encoder_type)

Function Documentation

◆ __drmm_simple_encoder_alloc()

void * __drmm_simple_encoder_alloc ( struct drm_device *  dev,
size_t  size,
size_t  offset,
int  encoder_type 
)

◆ drm_simple_display_pipe_attach_bridge()

int drm_simple_display_pipe_attach_bridge ( struct drm_simple_display_pipe *  pipe,
struct drm_bridge *  bridge 
)

◆ drm_simple_display_pipe_init()

int drm_simple_display_pipe_init ( struct drm_device *  dev,
struct drm_simple_display_pipe *  pipe,
const struct drm_simple_display_pipe_funcs *  funcs,
const uint32_t *  formats,
unsigned int  format_count,
const uint64_t *  format_modifiers,
struct drm_connector *  connector 
)

◆ drm_simple_encoder_init()

int drm_simple_encoder_init ( struct drm_device *  dev,
struct drm_encoder *  encoder,
int  encoder_type 
)