drm/amdgpu: use BACO reset on vega20 if platform support
authorJim Qu <Jim.Qu@amd.com>
Thu, 8 Nov 2018 06:07:22 +0000 (14:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
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>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 97eb0a38b77a34774bcfbd21cd1718f29246067f..5248b03df5faa9323aafbdedd7457f92738d4415 100644 (file)
@@ -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: