X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fdrm%2Fradeon_drm.h;fp=drivers%2Fchar%2Fdrm%2Fradeon_drm.h;h=9c177a6b2a4c46ed953a28a79d34eadd1cfbffd3;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=8d6350dd53609407b3182a51b50b2a97ff5bef68;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/drivers/char/drm/radeon_drm.h b/drivers/char/drm/radeon_drm.h index 8d6350dd5..9c177a6b2 100644 --- a/drivers/char/drm/radeon_drm.h +++ b/drivers/char/drm/radeon_drm.h @@ -161,8 +161,7 @@ #define R200_EMIT_PP_TXCTLALL_3 91 #define R200_EMIT_PP_TXCTLALL_4 92 #define R200_EMIT_PP_TXCTLALL_5 93 -#define R200_EMIT_VAP_PVS_CNTL 94 -#define RADEON_MAX_STATE_PACKETS 95 +#define RADEON_MAX_STATE_PACKETS 94 /* Commands understood by cmd_buffer ioctl. More can be added but * obviously these can't be removed or changed: @@ -177,7 +176,6 @@ #define RADEON_CMD_WAIT 8 /* emit hw wait commands -- note: * doesn't make the cpu wait, just * the graphics hardware */ -#define RADEON_CMD_VECLINEAR 9 /* another r200 stopgap */ typedef union { int i; @@ -193,9 +191,6 @@ typedef union { struct { unsigned char cmd_type, offset, stride, count; } vectors; - struct { - unsigned char cmd_type, addr_lo, addr_hi, count; - } veclinear; struct { unsigned char cmd_type, buf_idx, pad0, pad1; } dma; @@ -227,7 +222,6 @@ typedef union { # define R300_WAIT_3D 0x2 # define R300_WAIT_2D_CLEAN 0x3 # define R300_WAIT_3D_CLEAN 0x4 -#define R300_CMD_SCRATCH 8 typedef union { unsigned int u; @@ -253,9 +247,6 @@ typedef union { struct { unsigned char cmd_type, flags, pad0, pad1; } wait; - struct { - unsigned char cmd_type, reg, n_bufs, flags; - } scratch; } drm_r300_cmd_header_t; #define RADEON_FRONT 0x1 @@ -706,7 +697,6 @@ typedef struct drm_radeon_setparam { #define RADEON_SETPARAM_FB_LOCATION 1 /* determined framebuffer location */ #define RADEON_SETPARAM_SWITCH_TILING 2 /* enable/disable color tiling */ #define RADEON_SETPARAM_PCIGART_LOCATION 3 /* PCI Gart Location */ -#define RADEON_SETPARAM_NEW_MEMMAP 4 /* Use new memory map */ /* 1.14: Clients can allocate/free a surface */