Linux Kernel
3.7.1
|
#include <video/omapdss.h>
#include <linux/module.h>
#include <linux/types.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <linux/platform_data/omap_drm.h>
#include "omap_drm.h"
Go to the source code of this file.
Data Structures | |
struct | omap_drm_private |
struct | omap_drm_window |
Macros | |
#define | DBG(fmt,...) DRM_DEBUG(fmt"\n", ##__VA_ARGS__) |
#define | VERB(fmt,...) if (0) DRM_DEBUG(fmt, ##__VA_ARGS__) /* verbose debug */ |
#define | MODULE_NAME "omapdrm" |
#define | MAX_MAPPERS 2 |
#define | DRM_ROTATE_0 0 |
#define | DRM_ROTATE_90 1 |
#define | DRM_ROTATE_180 2 |
#define | DRM_ROTATE_270 3 |
#define | DRM_REFLECT_X 4 |
#define | DRM_REFLECT_Y 5 |
Definition at line 31 of file omap_drv.h.
#define DRM_REFLECT_X 4 |
Definition at line 73 of file omap_drv.h.
#define DRM_REFLECT_Y 5 |
Definition at line 74 of file omap_drv.h.
#define DRM_ROTATE_0 0 |
Definition at line 69 of file omap_drv.h.
#define DRM_ROTATE_180 2 |
Definition at line 71 of file omap_drv.h.
#define DRM_ROTATE_270 3 |
Definition at line 72 of file omap_drv.h.
#define DRM_ROTATE_90 1 |
Definition at line 70 of file omap_drv.h.
#define MAX_MAPPERS 2 |
Definition at line 40 of file omap_drv.h.
#define MODULE_NAME "omapdrm" |
Definition at line 34 of file omap_drv.h.
Definition at line 32 of file omap_drv.h.
|
read |
Definition at line 262 of file omap_connector.c.
enum drm_connector_status omap_connector_detect | ( | struct drm_connector * | connector, |
bool | force | ||
) |
Definition at line 140 of file omap_connector.c.
Definition at line 337 of file omap_connector.c.
|
read |
Definition at line 347 of file omap_connector.c.
void omap_connector_mode_set | ( | struct drm_connector * | connector, |
struct drm_display_mode * | mode | ||
) |
Definition at line 307 of file omap_connector.c.
|
read |
Definition at line 238 of file omap_crtc.c.
|
read |
Definition at line 112 of file omap_encoder.c.
|
read |
Definition at line 120 of file omap_encoder.c.
void omap_fbdev_free | ( | struct drm_device * | dev | ) |
Definition at line 381 of file omap_fbdev.c.
|
read |
Definition at line 343 of file omap_fbdev.c.
|
read |
|
read |
uint32_t omap_framebuffer_get_formats | ( | uint32_t * | pixel_formats, |
uint32_t | max_formats, | ||
enum omap_color_mode | supported_modes | ||
) |
|
read |
|
read |
int omap_framebuffer_replace | ( | struct drm_framebuffer * | a, |
struct drm_framebuffer * | b, | ||
void * | arg, | ||
void(*)(void *arg, struct drm_gem_object *bo) | unpin | ||
) |
void omap_framebuffer_update_scanout | ( | struct drm_framebuffer * | fb, |
struct omap_drm_window * | win, | ||
struct omap_overlay_info * | info | ||
) |
Definition at line 717 of file omap_gem.c.
void omap_gem_deinit | ( | struct drm_device * | dev | ) |
Definition at line 1485 of file omap_gem.c.
void omap_gem_dma_sync | ( | struct drm_gem_object * | obj, |
enum dma_data_direction | dir | ||
) |
Definition at line 730 of file omap_gem.c.
int omap_gem_dumb_create | ( | struct drm_file * | file, |
struct drm_device * | dev, | ||
struct drm_mode_create_dumb * | args | ||
) |
omap_gem_dumb_create - create a dumb buffer : our client file : our device : the requested arguments copied from userspace
Allocate a buffer suitable for use for a frame buffer of the form described by user space. Give userspace a handle by which to reference it.
Definition at line 615 of file omap_gem.c.
int omap_gem_dumb_destroy | ( | struct drm_file * | file, |
struct drm_device * | dev, | ||
uint32_t | handle | ||
) |
Definition at line 640 of file omap_gem.c.
int omap_gem_dumb_map_offset | ( | struct drm_file * | file, |
struct drm_device * | dev, | ||
uint32_t | handle, | ||
uint64_t * | offset | ||
) |
Definition at line 656 of file omap_gem.c.
int omap_gem_fault | ( | struct vm_area_struct * | vma, |
struct vm_fault * | vmf | ||
) |
omap_gem_fault - pagefault handler for GEM objects : the VMA of the GEM object : fault detail
Invoked when a fault occurs on an mmap of a GEM managed area. GEM does most of the work for us including the actual map/unmap calls but we need to do the actual page work.
The VMA was set up by GEM. In doing so it also ensured that the vma->vm_private_data points to the GEM object that is backing this mapping.
Definition at line 509 of file omap_gem.c.
Definition at line 302 of file omap_gem.c.
Definition at line 1277 of file omap_gem.c.
int omap_gem_get_paddr | ( | struct drm_gem_object * | obj, |
dma_addr_t * | paddr, | ||
bool | remap | ||
) |
Definition at line 760 of file omap_gem.c.
Definition at line 922 of file omap_gem.c.
void omap_gem_init | ( | struct drm_device * | dev | ) |
Definition at line 1430 of file omap_gem.c.
Definition at line 1269 of file omap_gem.c.
int omap_gem_mmap | ( | struct file * | filp, |
struct vm_area_struct * | vma | ||
) |
We override mainly to fix up some of the vm mapping flags..
Definition at line 555 of file omap_gem.c.
int omap_gem_mmap_obj | ( | struct drm_gem_object * | obj, |
struct vm_area_struct * | vma | ||
) |
Definition at line 568 of file omap_gem.c.
Definition at line 328 of file omap_gem.c.
get mmap size
Definition at line 338 of file omap_gem.c.
|
read |
Definition at line 1345 of file omap_gem.c.
int omap_gem_new_handle | ( | struct drm_device * | dev, |
struct drm_file * | file, | ||
union omap_gem_size | gsize, | ||
uint32_t | flags, | ||
uint32_t * | handle | ||
) |
Definition at line 1321 of file omap_gem.c.
int omap_gem_op_async | ( | struct drm_gem_object * | obj, |
enum omap_gem_op | op, | ||
void(*)(void *arg) | fxn, | ||
void * | arg | ||
) |
Definition at line 1196 of file omap_gem.c.
int omap_gem_op_finish | ( | struct drm_gem_object * | obj, |
enum omap_gem_op | op | ||
) |
Definition at line 1126 of file omap_gem.c.
int omap_gem_op_start | ( | struct drm_gem_object * | obj, |
enum omap_gem_op | op | ||
) |
Definition at line 1121 of file omap_gem.c.
int omap_gem_op_sync | ( | struct drm_gem_object * | obj, |
enum omap_gem_op | op | ||
) |
Definition at line 1140 of file omap_gem.c.
|
read |
Definition at line 194 of file omap_gem_dmabuf.c.
|
read |
Definition at line 200 of file omap_gem_dmabuf.c.
Definition at line 832 of file omap_gem.c.
Definition at line 940 of file omap_gem.c.
Definition at line 682 of file omap_gem.c.
int omap_gem_rotated_paddr | ( | struct drm_gem_object * | obj, |
uint32_t | orient, | ||
int | x, | ||
int | y, | ||
dma_addr_t * | paddr | ||
) |
Definition at line 864 of file omap_gem.c.
Definition at line 358 of file omap_gem.c.
Definition at line 881 of file omap_gem.c.
Definition at line 953 of file omap_gem.c.
Definition at line 375 of file omap_plane.c.
|
read |
Definition at line 487 of file omap_plane.c.
void omap_plane_install_properties | ( | struct drm_plane * | plane, |
struct drm_mode_object * | obj | ||
) |
Definition at line 412 of file omap_plane.c.
int omap_plane_mode_set | ( | struct drm_plane * | plane, |
struct drm_crtc * | crtc, | ||
struct drm_framebuffer * | fb, | ||
int | crtc_x, | ||
int | crtc_y, | ||
unsigned int | crtc_w, | ||
unsigned int | crtc_h, | ||
uint32_t | src_x, | ||
uint32_t | src_y, | ||
uint32_t | src_w, | ||
uint32_t | src_h | ||
) |
Definition at line 311 of file omap_plane.c.
Definition at line 398 of file omap_plane.c.
int omap_plane_set_property | ( | struct drm_plane * | plane, |
struct drm_property * | property, | ||
uint64_t | val | ||
) |
Definition at line 447 of file omap_plane.c.