summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/radeon_drm.h
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-08-23 15:02:58 +0000
committerrnoland <rnoland@FreeBSD.org>2009-08-23 15:02:58 +0000
commit61ec6f94ad96ba6ab04f839f03a45b60260e0425 (patch)
treec0ee624b4dd7f28e98ba0c3213d07fd0a6487b09 /sys/dev/drm/radeon_drm.h
parent8a453d95085dc4d012b7b159ed76f8c71929f383 (diff)
downloadFreeBSD-src-61ec6f94ad96ba6ab04f839f03a45b60260e0425.zip
FreeBSD-src-61ec6f94ad96ba6ab04f839f03a45b60260e0425.tar.gz
Add GET_PARAM support for Z pipes.
This is needed for occulsion queries on rv530 chips. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/drm/radeon_drm.h')
-rw-r--r--sys/dev/drm/radeon_drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/drm/radeon_drm.h b/sys/dev/drm/radeon_drm.h
index 2e64e29..11f2fcb 100644
--- a/sys/dev/drm/radeon_drm.h
+++ b/sys/dev/drm/radeon_drm.h
@@ -688,6 +688,8 @@ typedef struct drm_radeon_indirect {
#define RADEON_PARAM_VBLANK_CRTC 13 /* VBLANK CRTC */
#define RADEON_PARAM_FB_LOCATION 14 /* FB location */
#define RADEON_PARAM_NUM_GB_PIPES 15 /* num GB pipes */
+#define RADEON_PARAM_DEVICE_ID 16
+#define RADEON_PARAM_NUM_Z_PIPES 17 /* num Z pipes */
typedef struct drm_radeon_getparam {
int param;
OpenPOWER on IntegriCloud