aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2014-01-23 11:50:49 -0500
committerChristian König <christian.koenig@amd.com>2014-02-18 10:11:26 -0500
commit98ccc291ffdc34ccb9b13f0c29cc51d6eab24022 (patch)
tree3033271c6e683095c118801dc3681f4ae8c4dfc2 /drivers/gpu/drm/radeon/radeon.h
parentf7ba8b04b22d7c74898f53a0e118f31b9d40dcc2 (diff)
drm/radeon: add VCE version parsing and checking
Also make the result available to userspace. Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index a58a38942c73..d1491d41fc2d 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1606,6 +1606,8 @@ struct radeon_vce {
1606 struct radeon_bo *vcpu_bo; 1606 struct radeon_bo *vcpu_bo;
1607 void *cpu_addr; 1607 void *cpu_addr;
1608 uint64_t gpu_addr; 1608 uint64_t gpu_addr;
1609 unsigned fw_version;
1610 unsigned fb_version;
1609 atomic_t handles[RADEON_MAX_VCE_HANDLES]; 1611 atomic_t handles[RADEON_MAX_VCE_HANDLES];
1610 struct drm_file *filp[RADEON_MAX_VCE_HANDLES]; 1612 struct drm_file *filp[RADEON_MAX_VCE_HANDLES];
1611}; 1613};