radeon_drm.h revision 1450
1450N/A * radeon_drm.h -- Public header for the radeon driver -*- linux-c -*-
1450N/A#ifndef __RADEON_DRM_H__
1450N/A#define __RADEON_DRM_H__
1450N/A * defines in the X server file (radeon_sarea.h)
1450N/A#ifndef __RADEON_SAREA_DEFINES__
1450N/A#define __RADEON_SAREA_DEFINES__
1450N/A#define R300_CMD_PACKET3_CLEAR 0
1450N/A#define RADEON_LOCAL_TEX_HEAP 0
1450N/A unsigned int pp_fog_color;
1450N/A unsigned int re_solid_color;
1450N/A unsigned int rb3d_blendcntl;
1450N/A unsigned int rb3d_depthoffset;
1450N/A unsigned int rb3d_depthpitch;
1450N/A unsigned int rb3d_zstencilcntl;
1450N/A unsigned int rb3d_coloroffset;
1450N/A unsigned int re_width_height;
1450N/A unsigned int rb3d_colorpitch;
1450N/A unsigned int re_line_state;
1450N/A unsigned int pp_rot_matrix_1;
1450N/A unsigned int rb3d_ropcntl;
1450N/A unsigned int rb3d_planemask;
1450N/A unsigned int se_vport_xoffset;
1450N/A unsigned int se_vport_yscale;
1450N/A unsigned int se_vport_yoffset;
1450N/A unsigned int se_vport_zscale;
1450N/A unsigned int se_vport_zoffset;
1450N/A unsigned int se_zbias_constant;
1450N/A unsigned int pp_txfilter;
1450N/A unsigned int pp_txformat;
1450N/A unsigned int pp_txoffset;
1450N/A unsigned int pp_txcblend;
1450N/A unsigned int pp_txablend;
1450N/A unsigned int pp_tfactor;
1450N/A unsigned int pp_border_color;
1450N/A unsigned int last_frame;
1450N/A unsigned int last_dispatch;
1450N/A unsigned int last_clear;
1450N/A * defines in the Xserver file (xf86drmRadeon.h)
1450N/A#define DRM_RADEON_NOT_USED
1450N/A#define DRM_IOCTL_RADEON_CP_INIT \
1450N/A#define DRM_IOCTL_RADEON_CP_START \
1450N/A#define DRM_IOCTL_RADEON_CP_STOP \
1450N/A#define DRM_IOCTL_RADEON_CP_RESET \
1450N/A#define DRM_IOCTL_RADEON_CP_IDLE \
1450N/A#define DRM_IOCTL_RADEON_RESET \
1450N/A#define DRM_IOCTL_RADEON_FULLSCREEN \
1450N/A#define DRM_IOCTL_RADEON_SWAP \
1450N/A#define DRM_IOCTL_RADEON_CLEAR \
1450N/A#define DRM_IOCTL_RADEON_VERTEX \
1450N/A#define DRM_IOCTL_RADEON_INDICES \
1450N/A#define DRM_IOCTL_RADEON_STIPPLE \
1450N/A#define DRM_IOCTL_RADEON_INDIRECT \
1450N/A#define DRM_IOCTL_RADEON_TEXTURE \
1450N/A#define DRM_IOCTL_RADEON_VERTEX2 \
1450N/A#define DRM_IOCTL_RADEON_CMDBUF \
1450N/A#define DRM_IOCTL_RADEON_GETPARAM \
1450N/A#define DRM_IOCTL_RADEON_FLIP \
1450N/A#define DRM_IOCTL_RADEON_ALLOC \
1450N/A#define DRM_IOCTL_RADEON_FREE \
1450N/A#define DRM_IOCTL_RADEON_INIT_HEAP \
1450N/A#define DRM_IOCTL_RADEON_IRQ_EMIT \
1450N/A#define DRM_IOCTL_RADEON_IRQ_WAIT \
1450N/A#define DRM_IOCTL_RADEON_CP_RESUME \
1450N/A#define DRM_IOCTL_RADEON_SETPARAM \
1450N/A#define DRM_IOCTL_RADEON_SURF_ALLOC \
1450N/A#define DRM_IOCTL_RADEON_SURF_FREE \
1450N/Atypedef struct drm_radeon_init {
1450N/A unsigned long sarea_priv_offset;
1450N/A int usec_timeout;
1450N/A unsigned long ring_offset;
1450N/A unsigned long ring_rptr_offset;
1450N/A unsigned long buffers_offset;
1450N/A unsigned long gart_textures_offset;
1450N/Atypedef struct drm_radeon_cp_stop {
1450N/Atypedef struct drm_radeon_fullscreen {
1450N/Atypedef union drm_radeon_clear_rect {
1450N/Atypedef struct drm_radeon_clear {
1450N/A unsigned int clear_color;
1450N/A unsigned int clear_depth;
1450N/A unsigned int color_mask;
1450N/Atypedef struct drm_radeon_vertex {
1450N/Atypedef struct drm_radeon_indices {
1450N/Atypedef struct drm_radeon_vertex2 {
1450N/Atypedef struct drm_radeon_cmd_buffer {
1450N/Atypedef struct drm_radeon_tex_image {
1450N/Atypedef struct drm_radeon_texture {
1450N/Atypedef struct drm_radeon_stipple {
1450N/Atypedef struct drm_radeon_indirect {
1450N/A#define RADEON_CARD_PCI 0
1450N/Atypedef struct drm_radeon_getparam {
1450N/Atypedef struct drm_radeon_mem_alloc {
1450N/Atypedef struct drm_radeon_mem_free {
1450N/A int region_offset;
1450N/Atypedef struct drm_radeon_mem_init_heap {
1450N/Atypedef struct drm_radeon_irq_emit {
1450N/Atypedef struct drm_radeon_irq_wait {
1450N/Atypedef struct drm_radeon_setparam {
1450N/Atypedef struct drm_radeon_surface_alloc {
1450N/Atypedef struct drm_radeon_surface_free {