Linux Kernel
3.7.1
|
#include <video/vga.h>
#include <drm/drm_fb_helper.h>
#include <drm/ttm/ttm_bo_api.h>
#include <drm/ttm/ttm_bo_driver.h>
#include <drm/ttm/ttm_placement.h>
#include <drm/ttm/ttm_memory.h>
#include <drm/ttm/ttm_module.h>
Go to the source code of this file.
Data Structures | |
struct | cirrus_crtc |
struct | cirrus_mode_info |
struct | cirrus_encoder |
struct | cirrus_connector |
struct | cirrus_framebuffer |
struct | cirrus_mc |
struct | cirrus_device |
struct | cirrus_fbdev |
struct | cirrus_bo |
Variables | |
struct drm_ioctl_desc | cirrus_ioctls [] |
int | cirrus_max_ioctl |
#define CIRRUS_DPMS_CLEARED (-1) |
Definition at line 88 of file cirrus_drv.h.
#define CIRRUS_MAX_FB_HEIGHT 4096 |
Definition at line 85 of file cirrus_drv.h.
#define CIRRUS_MAX_FB_WIDTH 4096 |
Definition at line 86 of file cirrus_drv.h.
#define CIRRUSFB_CONN_LIMIT 1 |
Definition at line 34 of file cirrus_drv.h.
#define CRT_DATA 0x15 |
Definition at line 51 of file cirrus_drv.h.
#define CRT_INDEX 0x14 |
Definition at line 50 of file cirrus_drv.h.
#define DRIVER_AUTHOR "Matthew Garrett" |
Definition at line 24 of file cirrus_drv.h.
#define DRIVER_DATE "20110418" |
Definition at line 28 of file cirrus_drv.h.
#define DRIVER_DESC "qemu Cirrus emulation" |
Definition at line 27 of file cirrus_drv.h.
#define DRIVER_MAJOR 1 |
Definition at line 30 of file cirrus_drv.h.
#define DRIVER_MINOR 0 |
Definition at line 31 of file cirrus_drv.h.
#define DRIVER_NAME "cirrus" |
Definition at line 26 of file cirrus_drv.h.
#define DRIVER_PATCHLEVEL 0 |
Definition at line 32 of file cirrus_drv.h.
#define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT) |
Definition at line 177 of file cirrus_drv.h.
#define gem_to_cirrus_bo | ( | gobj | ) | container_of((gobj), struct cirrus_bo, gem) |
Definition at line 167 of file cirrus_drv.h.
#define GFX_DATA 0xf |
Definition at line 60 of file cirrus_drv.h.
#define GFX_INDEX 0xe |
Definition at line 59 of file cirrus_drv.h.
Definition at line 38 of file cirrus_drv.h.
Definition at line 36 of file cirrus_drv.h.
#define SEQ_DATA 5 |
Definition at line 42 of file cirrus_drv.h.
#define SEQ_INDEX 4 |
Definition at line 41 of file cirrus_drv.h.
#define to_cirrus_crtc | ( | x | ) | container_of(x, struct cirrus_crtc, base) |
Definition at line 90 of file cirrus_drv.h.
#define to_cirrus_encoder | ( | x | ) | container_of(x, struct cirrus_encoder, base) |
Definition at line 91 of file cirrus_drv.h.
#define to_cirrus_framebuffer | ( | x | ) | container_of(x, struct cirrus_framebuffer, base) |
Definition at line 92 of file cirrus_drv.h.
#define to_cirrus_obj | ( | x | ) | container_of(x, struct cirrus_gem_object, base) |
Definition at line 176 of file cirrus_drv.h.
#define VGA_DAC_MASK 0x6 |
Definition at line 73 of file cirrus_drv.h.
Definition at line 39 of file cirrus_drv.h.
Definition at line 37 of file cirrus_drv.h.
#define WREG_HDR | ( | v | ) |
Definition at line 75 of file cirrus_drv.h.
int cirrus_bo_create | ( | struct drm_device * | dev, |
int | size, | ||
int | align, | ||
uint32_t | flags, | ||
struct cirrus_bo ** | pcirrusbo | ||
) |
Definition at line 336 of file cirrus_ttm.c.
Definition at line 378 of file cirrus_ttm.c.
Definition at line 421 of file cirrus_ttm.c.
Definition at line 318 of file cirrus_ttm.c.
Definition at line 331 of file cirrus_ttm.c.
void cirrus_crtc_fb_gamma_get | ( | struct drm_crtc * | crtc, |
u16 * | red, | ||
u16 * | green, | ||
u16 * | blue, | ||
int | regno | ||
) |
Gets the color ramps on behalf of fbcon
Definition at line 419 of file cirrus_mode.c.
Sets the color ramps on behalf of fbcon
Definition at line 408 of file cirrus_mode.c.
void cirrus_device_fini | ( | struct cirrus_device * | cdev | ) |
Definition at line 162 of file cirrus_main.c.
int cirrus_device_init | ( | struct cirrus_device * | cdev, |
struct drm_device * | ddev, | ||
struct pci_dev * | pdev, | ||
uint32_t | flags | ||
) |
Definition at line 126 of file cirrus_main.c.
irqreturn_t cirrus_driver_irq_handler | ( | DRM_IRQ_ARGS | ) |
int cirrus_driver_irq_postinstall | ( | struct drm_device * | dev | ) |
void cirrus_driver_irq_preinstall | ( | struct drm_device * | dev | ) |
void cirrus_driver_irq_uninstall | ( | struct drm_device * | dev | ) |
int cirrus_driver_load | ( | struct drm_device * | dev, |
unsigned long | flags | ||
) |
Definition at line 173 of file cirrus_main.c.
int cirrus_driver_unload | ( | struct drm_device * | dev | ) |
Definition at line 204 of file cirrus_main.c.
int cirrus_dumb_create | ( | struct drm_file * | file, |
struct drm_device * | dev, | ||
struct drm_mode_create_dumb * | args | ||
) |
Definition at line 241 of file cirrus_main.c.
int cirrus_dumb_destroy | ( | struct drm_file * | file, |
struct drm_device * | dev, | ||
uint32_t | handle | ||
) |
Definition at line 266 of file cirrus_main.c.
int cirrus_dumb_mmap_offset | ( | struct drm_file * | file, |
struct drm_device * | dev, | ||
uint32_t | handle, | ||
uint64_t * | offset | ||
) |
Definition at line 309 of file cirrus_main.c.
void cirrus_fbdev_fini | ( | struct cirrus_device * | cdev | ) |
Definition at line 298 of file cirrus_fbdev.c.
int cirrus_fbdev_init | ( | struct cirrus_device * | cdev | ) |
Definition at line 272 of file cirrus_fbdev.c.
int cirrus_framebuffer_init | ( | struct drm_device * | dev, |
struct cirrus_framebuffer * | gfb, | ||
struct drm_mode_fb_cmd2 * | mode_cmd, | ||
struct drm_gem_object * | obj | ||
) |
Definition at line 38 of file cirrus_main.c.
int cirrus_gem_create | ( | struct drm_device * | dev, |
u32 | size, | ||
bool | iskernel, | ||
struct drm_gem_object ** | obj | ||
) |
Definition at line 218 of file cirrus_main.c.
Definition at line 293 of file cirrus_main.c.
Definition at line 273 of file cirrus_main.c.
void cirrus_mm_fini | ( | struct cirrus_device * | cirrus | ) |
Definition at line 282 of file cirrus_ttm.c.
int cirrus_mm_init | ( | struct cirrus_device * | cirrus | ) |
Definition at line 248 of file cirrus_ttm.c.
int cirrus_mmap | ( | struct file * | filp, |
struct vm_area_struct * | vma | ||
) |
Definition at line 447 of file cirrus_ttm.c.
void cirrus_modeset_fini | ( | struct cirrus_device * | cdev | ) |
Definition at line 620 of file cirrus_mode.c.
int cirrus_modeset_init | ( | struct cirrus_device * | cdev | ) |
Definition at line 578 of file cirrus_mode.c.
Definition at line 301 of file cirrus_ttm.c.
struct drm_ioctl_desc cirrus_ioctls[] |
int cirrus_max_ioctl |