drm/amdgpu: add a xgmi supported flag
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Nov 2018 20:29:43 +0000 (15:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 3 Dec 2018 16:14:39 +0000 (11:14 -0500)
commit47622ba033d6da529ff37d7e5238359a699496ab
tree4f8286bd6887cd152d5e32015bcc55358bfbcc96
parente2101675225fa45cf6994916c2051c5167ded3e2
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/soc15.c