|
Linux Kernel
3.7.1
|
#include <drm/drmP.h>#include <drm/drm_buffer.h>#include <drm/radeon_drm.h>#include "radeon_drv.h"#include "r300_reg.h"#include <asm/unaligned.h>Go to the source code of this file.
Macros | |
| #define | R300_SIMULTANEOUS_CLIPRECTS 4 |
| #define | ADD_RANGE_MARK(reg, count, mark) |
| #define | MARK_SAFE 1 |
| #define | MARK_CHECK_OFFSET 2 |
| #define | ADD_RANGE(reg, count) ADD_RANGE_MARK(reg, count, MARK_SAFE) |
| #define | MAX_ARRAY_PACKET 64 |
Functions | |
| void | r300_init_reg_flags (struct drm_device *dev) |
| int | r300_do_cp_cmdbuf (struct drm_device *dev, struct drm_file *file_priv, drm_radeon_kcmd_buffer_t *cmdbuf) |
| #define MARK_CHECK_OFFSET 2 |
| #define MARK_SAFE 1 |
| #define MAX_ARRAY_PACKET 64 |
| #define R300_SIMULTANEOUS_CLIPRECTS 4 |
Definition at line 42 of file r300_cmdbuf.c.
| int r300_do_cp_cmdbuf | ( | struct drm_device * | dev, |
| struct drm_file * | file_priv, | ||
| drm_radeon_kcmd_buffer_t * | cmdbuf | ||
| ) |
Parses and validates a user-supplied command buffer and emits appropriate commands on the DMA ring buffer. Called by the ioctl handler function radeon_cp_cmdbuf.
Definition at line 1010 of file r300_cmdbuf.c.
| void r300_init_reg_flags | ( | struct drm_device * | dev | ) |
Definition at line 161 of file r300_cmdbuf.c.
1.8.2