]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d6c7e607f90902279d10edf947668a965c6ce75
tree4f8286bd6887cd152d5e32015bcc55358bfbcc96
parentfad551338acc71f678a0a3c012ec6bcf82afc50e
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