diff options
author | Jim Qu <Jim.Qu@amd.com> | 2018-11-08 14:07:22 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-01-25 16:15:34 -0500 |
commit | 2172b89e7c94605380d8c0dedf543c93f0a0b27c (patch) | |
tree | 67d8ae595380503c5d0ae8b148c1f4c9f5a10dee /drivers/gpu | |
parent | e2b6d053b1077d6eef025e7869690c630ab29d0c (diff) | |
download | linux-stable-2172b89e7c94605380d8c0dedf543c93f0a0b27c.tar.gz linux-stable-2172b89e7c94605380d8c0dedf543c93f0a0b27c.tar.bz2 linux-stable-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')
-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: |