diff options
author | Shaoyun Liu <Shaoyun.Liu@amd.com> | 2018-06-27 17:25:53 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-10 23:47:52 -0400 |
commit | fb30fc59a245512b94a065ee1557d7e1ae88484a (patch) | |
tree | d28b60f53e3a112066e761bc825fc0d573f2b4d7 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 78122127a4180306e2360b7a9e418eed21f76cf3 (diff) |
drm/amdgpu : Generate XGMI topology info from driver level
Driver will save an array of XGMI hive info, each hive will have a list of devices
that have the same hive ID.
Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 09bdedfc91c7..c43bc83c2d29 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -1216,6 +1216,12 @@ void amdgpu_disable_vblank_kms(struct drm_device *dev, unsigned int pipe); | |||
1216 | long amdgpu_kms_compat_ioctl(struct file *filp, unsigned int cmd, | 1216 | long amdgpu_kms_compat_ioctl(struct file *filp, unsigned int cmd, |
1217 | unsigned long arg); | 1217 | unsigned long arg); |
1218 | 1218 | ||
1219 | |||
1220 | /* | ||
1221 | * functions used by amdgpu_xgmi.c | ||
1222 | */ | ||
1223 | int amdgpu_xgmi_add_device(struct amdgpu_device *adev); | ||
1224 | |||
1219 | /* | 1225 | /* |
1220 | * functions used by amdgpu_encoder.c | 1226 | * functions used by amdgpu_encoder.c |
1221 | */ | 1227 | */ |