Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
omap_fb.c File Reference
#include "omap_drv.h"
#include "omap_dmm_tiler.h"
#include "drm_crtc.h"
#include "drm_crtc_helper.h"

Go to the source code of this file.

Data Structures

struct  format
 
struct  plane
 
struct  omap_framebuffer
 

Macros

#define to_omap_framebuffer(x)   container_of(x, struct omap_framebuffer, base)
 

Functions

uint32_t omap_framebuffer_get_formats (uint32_t *pixel_formats, uint32_t max_formats, enum omap_color_mode supported_modes)
 
void omap_framebuffer_update_scanout (struct drm_framebuffer *fb, struct omap_drm_window *win, struct omap_overlay_info *info)
 
int omap_framebuffer_replace (struct drm_framebuffer *a, struct drm_framebuffer *b, void *arg, void(*unpin)(void *arg, struct drm_gem_object *bo))
 
struct drm_gem_object * omap_framebuffer_bo (struct drm_framebuffer *fb, int p)
 
struct drm_connectoromap_framebuffer_get_next_connector (struct drm_framebuffer *fb, struct drm_connector *from)
 
void omap_framebuffer_flush (struct drm_framebuffer *fb, int x, int y, int w, int h)
 
struct drm_framebufferomap_framebuffer_create (struct drm_device *dev, struct drm_file *file, struct drm_mode_fb_cmd2 *mode_cmd)
 
struct drm_framebufferomap_framebuffer_init (struct drm_device *dev, struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_object **bos)
 

Macro Definition Documentation

#define to_omap_framebuffer (   x)    container_of(x, struct omap_framebuffer, base)

Definition at line 85 of file omap_fb.c.

Function Documentation

struct drm_gem_object* omap_framebuffer_bo ( struct drm_framebuffer fb,
int  p 
)
read

Definition at line 292 of file omap_fb.c.

struct drm_framebuffer* omap_framebuffer_create ( struct drm_device dev,
struct drm_file *  file,
struct drm_mode_fb_cmd2 mode_cmd 
)
read

Definition at line 372 of file omap_fb.c.

void omap_framebuffer_flush ( struct drm_framebuffer fb,
int  x,
int  y,
int  w,
int  h 
)

Definition at line 330 of file omap_fb.c.

uint32_t omap_framebuffer_get_formats ( uint32_t pixel_formats,
uint32_t  max_formats,
enum omap_color_mode  supported_modes 
)

Definition at line 64 of file omap_fb.c.

struct drm_connector* omap_framebuffer_get_next_connector ( struct drm_framebuffer fb,
struct drm_connector from 
)
read

Definition at line 303 of file omap_fb.c.

struct drm_framebuffer* omap_framebuffer_init ( struct drm_device dev,
struct drm_mode_fb_cmd2 mode_cmd,
struct drm_gem_object **  bos 
)
read

Definition at line 394 of file omap_fb.c.

int omap_framebuffer_replace ( struct drm_framebuffer a,
struct drm_framebuffer b,
void arg,
void(*)(void *arg, struct drm_gem_object *bo)  unpin 
)

Definition at line 249 of file omap_fb.c.

void omap_framebuffer_update_scanout ( struct drm_framebuffer fb,
struct omap_drm_window win,
struct omap_overlay_info info 
)

Definition at line 155 of file omap_fb.c.