Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
exynos_drm_fb.c File Reference
#include <drm/drmP.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_fb_helper.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_fb.h"
#include "exynos_drm_gem.h"

Go to the source code of this file.

Data Structures

struct  exynos_drm_fb
 

Macros

#define to_exynos_fb(x)   container_of(x, struct exynos_drm_fb, fb)
 

Functions

void exynos_drm_fb_set_buf_cnt (struct drm_framebuffer *fb, unsigned int cnt)
 
unsigned int exynos_drm_fb_get_buf_cnt (struct drm_framebuffer *fb)
 
struct drm_framebufferexynos_drm_framebuffer_init (struct drm_device *dev, struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_object *obj)
 
struct exynos_drm_gem_bufexynos_drm_fb_buffer (struct drm_framebuffer *fb, int index)
 
void exynos_drm_mode_config_init (struct drm_device *dev)
 

Macro Definition Documentation

#define to_exynos_fb (   x)    container_of(x, struct exynos_drm_fb, fb)

Definition at line 38 of file exynos_drm_fb.c.

Function Documentation

struct exynos_drm_gem_buf* exynos_drm_fb_buffer ( struct drm_framebuffer fb,
int  index 
)
read

Definition at line 231 of file exynos_drm_fb.c.

unsigned int exynos_drm_fb_get_buf_cnt ( struct drm_framebuffer fb)

Definition at line 116 of file exynos_drm_fb.c.

void exynos_drm_fb_set_buf_cnt ( struct drm_framebuffer fb,
unsigned int  cnt 
)

Definition at line 106 of file exynos_drm_fb.c.

struct drm_framebuffer* exynos_drm_framebuffer_init ( struct drm_device dev,
struct drm_mode_fb_cmd2 mode_cmd,
struct drm_gem_object *  obj 
)
read

Definition at line 126 of file exynos_drm_fb.c.

void exynos_drm_mode_config_init ( struct drm_device dev)

Definition at line 267 of file exynos_drm_fb.c.