summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-04-26 13:27:43 -0400
committerDave Airlie <airlied@redhat.com>2011-04-27 17:03:56 +1000
commit6565945b60922211c299968ba66a66617af32c9f (patch)
treefca477c8c1d8da6f918898fa6f1b75888779f47f /include/drm
parent834f0c353ae430c1a6ce023c9b77bbd3ff9241a7 (diff)
downloadop-kernel-dev-6565945b60922211c299968ba66a66617af32c9f.zip
op-kernel-dev-6565945b60922211c299968ba66a66617af32c9f.tar.gz
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 3bce1a4..7aa5ddd 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;
OpenPOWER on IntegriCloud