summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_gpu_info.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-05-11 14:14:06 +0200
committerNicolai Hähnle <[email protected]>2017-05-18 11:48:52 +0200
commit988c8662129fda08df21486508915be419139cf2 (patch)
tree649f4e29da99c29337b64f8f8cf437e5b8e6a63f /src/amd/common/ac_gpu_info.h
parentde9dd4f9f1bb5984c554d0acf7d2592951ecc53f (diff)
ac/radeonsi: move radeon_info initialization to amd/common
v2: update Android.common.mk (Emil) 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/common/ac_gpu_info.h b/src/amd/common/ac_gpu_info.h
index 608c4439f39..0dd7dc7b16d 100644
--- a/src/amd/common/ac_gpu_info.h
+++ b/src/amd/common/ac_gpu_info.h
@@ -90,4 +90,8 @@ struct radeon_info {
uint32_t cik_macrotile_mode_array[16];
};
+bool ac_query_gpu_info(int fd, amdgpu_device_handle dev,
+ struct radeon_info *info,
+ struct amdgpu_gpu_info *amdinfo);
+
#endif /* AC_GPU_INFO_H */