summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/radeon_drm.h
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2006-09-07 23:04:47 +0000
committeranholt <anholt@FreeBSD.org>2006-09-07 23:04:47 +0000
commit50839278da46102d66fbb4dc57e4fb6b59650651 (patch)
tree21f57d00cf9d69a34b829085f6e21d3973d7c377 /sys/dev/drm/radeon_drm.h
parent6f44289f61f88a6b36afa6b0923223763602f3de (diff)
downloadFreeBSD-src-50839278da46102d66fbb4dc57e4fb6b59650651.zip
FreeBSD-src-50839278da46102d66fbb4dc57e4fb6b59650651.tar.gz
Merge from DRM upstream:
- Add support for Intel 965 Express chipsets. - Add support for R200 vertex programs, along with minor bugfixes. - Add support for vblank synchronization to pipe B of Intel hardware (laptop screens).
Diffstat (limited to 'sys/dev/drm/radeon_drm.h')
-rw-r--r--sys/dev/drm/radeon_drm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/drm/radeon_drm.h b/sys/dev/drm/radeon_drm.h
index 4917e4d..b40b43c 100644
--- a/sys/dev/drm/radeon_drm.h
+++ b/sys/dev/drm/radeon_drm.h
@@ -164,7 +164,8 @@ __FBSDID("$FreeBSD$");
#define R200_EMIT_PP_TXCTLALL_3 91
#define R200_EMIT_PP_TXCTLALL_4 92
#define R200_EMIT_PP_TXCTLALL_5 93
-#define RADEON_MAX_STATE_PACKETS 94
+#define R200_EMIT_VAP_PVS_CNTL 94
+#define RADEON_MAX_STATE_PACKETS 95
/* Commands understood by cmd_buffer ioctl. More can be added but
* obviously these can't be removed or changed:
@@ -179,6 +180,7 @@ __FBSDID("$FreeBSD$");
#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;
@@ -195,6 +197,9 @@ typedef union {
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;
struct {
OpenPOWER on IntegriCloud