diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-08-23 15:02:58 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-08-23 15:02:58 +0000 |
commit | 61ec6f94ad96ba6ab04f839f03a45b60260e0425 (patch) | |
tree | c0ee624b4dd7f28e98ba0c3213d07fd0a6487b09 /sys/dev/drm/radeon_drm.h | |
parent | 8a453d95085dc4d012b7b159ed76f8c71929f383 (diff) | |
download | FreeBSD-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.h | 2 |
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; |