drm/amdgpu: set adev->num_vmhubs for gmc6,7,8
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 14:42:33 +0000 (09:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:35:25 +0000 (11:35 -0500)
commitbad4c3e66543b94b4abb18b6e49fe147684b7064
tree5bdb1a189ae3e24ab84e61b62c0826e5fa8e677b
parentd99f38aed1a03f78cb7ae04d86e7fc5ac70411e3
drm/amdgpu: set adev->num_vmhubs for gmc6,7,8

So that we properly handle them on older asics.

Fixes: 3ff985485b29 ("drm/amdgpu: Export function to flush TLB of specific vm hub")
Tested-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c