summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2014-01-23 17:50:49 +0100
committerChristian König <christian.koenig@amd.com>2014-02-18 16:11:26 +0100
commit98ccc291ffdc34ccb9b13f0c29cc51d6eab24022 (patch)
tree3033271c6e683095c118801dc3681f4ae8c4dfc2 /drivers/gpu/drm/radeon/radeon.h
parentdrm/radeon: add VCE ring query (diff)
downloadlinux-98ccc291ffdc34ccb9b13f0c29cc51d6eab24022.tar.xz
linux-98ccc291ffdc34ccb9b13f0c29cc51d6eab24022.zip
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 {
struct radeon_bo *vcpu_bo;
void *cpu_addr;
uint64_t gpu_addr;
+ unsigned fw_version;
+ unsigned fb_version;
atomic_t handles[RADEON_MAX_VCE_HANDLES];
struct drm_file *filp[RADEON_MAX_VCE_HANDLES];
};