Skip to contentSkip to conversation

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

PATCH In review Evan Quan 2 participants 2 messages Dec 24, 2019

Subsystems (2)
lore
Share & tools
lore

Evan Quan

author
#0 lore raw

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

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

Change-Id I0b6452ae56094d768ece23ba62476f410f19e57b
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/soc15.c +1 -0
index b53d40177e93..a0615640082a 100644
@@ -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:
Signature · 6 lines
2.24.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Evan Quan

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

Change-Id I0b6452ae56094d768ece23ba62476f410f19e57b
Quoted 19 lines
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/soc15.c +1 -1
index b53d40177e93..a0615640082a 100644
@@ -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

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx