drm/amd/powerplay: add check for baco support on Arcturus
authorEvan Quan <evan.quan@amd.com>
Tue, 24 Dec 2019 09:22:18 +0000 (17:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 16:56:43 +0000 (11:56 -0500)
This is used to determine whether runtime pm can be
supported or not.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index b53d40177e93f8b44be1baa0af864ce94bacdf95..a0615640082a5e0dd09baae93134908c75933ac0 100644 (file)
@@ -613,6 +613,7 @@ static bool soc15_supports_baco(struct amdgpu_device *adev)
        switch (adev->asic_type) {
        case CHIP_VEGA10:
        case CHIP_VEGA12:
+       case CHIP_ARCTURUS:
                soc15_asic_get_baco_capability(adev, &baco_support);
                break;
        case CHIP_VEGA20: