summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-04-26 19:27:43 +0200
committerDave Airlie <airlied@redhat.com>2011-04-27 09:03:56 +0200
commit6565945b60922211c299968ba66a66617af32c9f (patch)
treefca477c8c1d8da6f918898fa6f1b75888779f47f /include/drm
parentdrm/radeon/kms: add missing safe regs for 6xx/7xx (diff)
downloadlinux-6565945b60922211c299968ba66a66617af32c9f.tar.xz
linux-6565945b60922211c299968ba66a66617af32c9f.zip
drm/radeon/kms: add info query for tile pipes
needed by mesa for htile setup. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/radeon_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h
index 3bce1a4fc305..7aa5dddb2098 100644
--- a/include/drm/radeon_drm.h
+++ b/include/drm/radeon_drm.h
@@ -909,6 +909,7 @@ struct drm_radeon_cs {
#define RADEON_INFO_WANT_CMASK 0x08 /* get access to CMASK on r300 */
#define RADEON_INFO_CLOCK_CRYSTAL_FREQ 0x09 /* clock crystal frequency */
#define RADEON_INFO_NUM_BACKENDS 0x0a /* DB/backends for r600+ - need for OQ */
+#define RADEON_INFO_NUM_TILE_PIPES 0x0b /* tile pipes for r600+ */
struct drm_radeon_info {
uint32_t request;