summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-11-30 23:29:43 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-12-03 19:14:39 +0300
commit47622ba033d6da529ff37d7e5238359a699496ab (patch)
tree4f8286bd6887cd152d5e32015bcc55358bfbcc96 /drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
parente2101675225fa45cf6994916c2051c5167ded3e2 (diff)
downloadlinux-47622ba033d6da529ff37d7e5238359a699496ab.tar.xz
drm/amdgpu: add a xgmi supported flag
Use this to track whether an asic supports xgmi rather than checking the asic type everywhere. Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
index 8c57924c075f..81e6070d255b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
@@ -99,6 +99,7 @@ struct amdgpu_xgmi {
unsigned num_physical_nodes;
/* gpu list in the same hive */
struct list_head head;
+ bool supported;
};
struct amdgpu_gmc {