[PATCH] drm/amd/powerplay: add check for baco support on Arcturus

Evan Quan evan.quan at amd.com
Tue Dec 24 09:28:48 UTC 2019


This is used to determine whether runtime pm can be
supported or not.

Change-Id: I0b6452ae56094d768ece23ba62476f410f19e57b
Signed-off-by: Evan Quan <evan.quan at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index b53d40177e93..a0615640082a 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -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:
-- 
2.24.0



More information about the amd-gfx mailing list