summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_gpu_info.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-06-11 22:49:18 -0400
committerMarek Olšák <[email protected]>2019-06-14 13:31:18 -0400
commitabe9a51d27049971c77a0072693511caf9b793e2 (patch)
treeb020b10528853daf4b6660b89f7d973195d75226 /src/amd/common/ac_gpu_info.h
parentbbbbea243aea8297a4b7006be9e8f8e85c493b81 (diff)
ac: add radeon_info::is_amdgpu instead of checking drm_major == 3
and clean up Reviewed-by: Samuel Pitoiset <[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 2adc0e12f1b..2c67cec3ed5 100644
--- a/src/amd/common/ac_gpu_info.h
+++ b/src/amd/common/ac_gpu_info.h
@@ -99,6 +99,7 @@ struct radeon_info {
uint32_t drm_major; /* version */
uint32_t drm_minor;
uint32_t drm_patchlevel;
+ bool is_amdgpu;
bool has_userptr;
bool has_syncobj;
bool has_syncobj_wait_for_submit;