summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_gpu_info.h
diff options
context:
space:
mode:
authorJames Zhu <[email protected]>2018-02-05 16:28:13 -0500
committerLeo Liu <[email protected]>2018-02-21 13:53:38 -0500
commitf0ad908e79c76c380102960a0d7727f55d1abce4 (patch)
treee5b4d2df687717622fe49b3ab4a42be3f00eb534 /src/amd/common/ac_gpu_info.h
parent7319311a504c06890181044668c8d01cf5ddd322 (diff)
amd/common:add uvd hevc enc support check in hw query
Based on amdgpu hardware query information to check if UVD hevc enc support Signed-off-by: James Zhu <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_gpu_info.h')
-rw-r--r--src/amd/common/ac_gpu_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_gpu_info.h b/src/amd/common/ac_gpu_info.h
index ae42aff6017..7c86dc1cb6f 100644
--- a/src/amd/common/ac_gpu_info.h
+++ b/src/amd/common/ac_gpu_info.h
@@ -66,6 +66,7 @@ struct radeon_info {
uint32_t num_compute_rings;
uint32_t uvd_fw_version;
uint32_t vce_fw_version;
+ bool uvd_enc_supported;
uint32_t me_fw_version;
uint32_t me_fw_feature;
uint32_t pfp_fw_version;