drm/amdgpu: use BACO on vega12 if platform supports it
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Feb 2019 02:50:53 +0000 (21:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Mar 2019 20:09:33 +0000 (15:09 -0500)
Use BACO for reset of the platform supports it.

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 ed89a101f73f387139a309b35a372b5b7299de64..36158db6a82e9f3411536619399a25b1f76a23fa 100644 (file)
@@ -461,6 +461,7 @@ static int soc15_asic_reset(struct amdgpu_device *adev)
 
        switch (adev->asic_type) {
        case CHIP_VEGA10:
+       case CHIP_VEGA12:
                soc15_asic_get_baco_capability(adev, &baco_reset);
                break;
        default: