diff options
author | Xiangliang Yu <Xiangliang.Yu@amd.com> | 2017-03-08 10:00:48 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-30 06:54:57 +0300 |
commit | 1b922423ced7fbe7f1a8366eb399b7daf4ebaea7 (patch) | |
tree | 02e0910d9d852a758503cf6169a6bb204c05ad10 /drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h | |
parent | 3fc08b61df3837701fd6665c1b2b3df7ca44225b (diff) | |
download | linux-1b922423ced7fbe7f1a8366eb399b7daf4ebaea7.tar.xz |
drm/amdgpu: impl sriov detection for vega10
Read vega10 hw register to detect if sriov is enabled, and call
it before IP blocks setting.
Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h b/drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h index a778d1c1fb9f..3e04093539f5 100644 --- a/drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h +++ b/drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h @@ -48,5 +48,6 @@ void nbio_v6_1_ih_control(struct amdgpu_device *adev); u32 nbio_v6_1_get_rev_id(struct amdgpu_device *adev); void nbio_v6_1_update_medium_grain_clock_gating(struct amdgpu_device *adev, bool enable); void nbio_v6_1_update_medium_grain_light_sleep(struct amdgpu_device *adev, bool enable); +void nbio_v6_1_detect_hw_virt(struct amdgpu_device *adev); #endif |