diff options
author | Jim Qu <Jim.Qu@amd.com> | 2018-11-08 07:07:22 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-01-25 22:15:34 +0100 |
commit | 2172b89e7c94605380d8c0dedf543c93f0a0b27c (patch) | |
tree | 67d8ae595380503c5d0ae8b148c1f4c9f5a10dee /drivers/gpu/drm/amd/amdgpu/soc15.c | |
parent | drm/amdgpu: use BACO reset if platform support (v2) (diff) | |
download | linux-2172b89e7c94605380d8c0dedf543c93f0a0b27c.tar.xz linux-2172b89e7c94605380d8c0dedf543c93f0a0b27c.zip |
drm/amdgpu: use BACO reset on vega20 if platform support
Signed-off-by: Jim Qu <Jim.Qu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc15.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 97eb0a38b77a..5248b03df5fa 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -461,6 +461,7 @@ static int soc15_asic_reset(struct amdgpu_device *adev) switch (adev->asic_type) { case CHIP_VEGA10: + case CHIP_VEGA20: soc15_asic_get_baco_capability(adev, &baco_reset); break; default: |