summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/drm/radeon_winsys.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2013-04-08 16:41:01 +0200
committerChristian König <[email protected]>2013-04-11 17:10:01 +0200
commitf91e4d2c9d714bb7d667956cd93f216c18a434f4 (patch)
tree2efaaf465755a53f253ec51f945a00fcc88bed7b /src/gallium/winsys/radeon/drm/radeon_winsys.h
parentcb12bf7606116e473bf19aee84582b4cee7f895d (diff)
radeon/winsys: add uvd ring support to winsys v3
Separated from UVD patch for clarity. v2: sync with next tree for 3.10 v3: as pointed out by Andreas Bool check for drm minor >= 32 http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.10-wip Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Andreas Boll <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/drm/radeon_winsys.h')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_winsys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_winsys.h b/src/gallium/winsys/radeon/drm/radeon_winsys.h
index 36f1f8e7ec4..e343188d3b7 100644
--- a/src/gallium/winsys/radeon/drm/radeon_winsys.h
+++ b/src/gallium/winsys/radeon/drm/radeon_winsys.h
@@ -142,6 +142,7 @@ enum chip_class {
enum ring_type {
RING_GFX = 0,
RING_DMA,
+ RING_UVD,
RING_LAST,
};
@@ -170,6 +171,8 @@ struct radeon_info {
uint32_t drm_minor;
uint32_t drm_patchlevel;
+ boolean has_uvd;
+
uint32_t r300_num_gb_pipes;
uint32_t r300_num_z_pipes;