summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2014-01-23 09:50:49 -0700
committerChristian König <christian.koenig@amd.com>2014-02-18 16:11:26 +0100
commit98ccc291ffdc34ccb9b13f0c29cc51d6eab24022 (patch)
tree3033271c6e683095c118801dc3681f4ae8c4dfc2 /drivers/gpu/drm/radeon/radeon.h
parentf7ba8b04b22d7c74898f53a0e118f31b9d40dcc2 (diff)
downloadop-kernel-dev-98ccc291ffdc34ccb9b13f0c29cc51d6eab24022.zip
op-kernel-dev-98ccc291ffdc34ccb9b13f0c29cc51d6eab24022.tar.gz
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 a58a389..d1491d4 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];
};
OpenPOWER on IntegriCloud