Skip to contentSkip to conversation

drm/amdgpu/powerplay: enable powerplay by default on TOPAZ

PATCH In review Alex Deucher 2 participants 2 messages Jul 28, 2016 – Jul 29, 2016 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/powerplay: enable powerplay by default on TOPAZ

Now that the implementation is complete.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c +1 -3
index 260da02..57aa342 100644
@@ -106,15 +106,13 @@ static int amdgpu_pp_early_init(void *handle)
 		break;
 	case CHIP_TONGA:
 	case CHIP_FIJI:
+	case CHIP_TOPAZ:
 		adev->pp_enabled = (amdgpu_powerplay == 0) ? false : true;
 		break;
 	case CHIP_CARRIZO:
 	case CHIP_STONEY:
 		adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;
 		break;
-	case CHIP_TOPAZ:
-		adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;
-		break;
 	/* These chips don't have powerplay implemenations */
 	case CHIP_BONAIRE:
 	case CHIP_HAWAII:
Signature · 6 lines
2.5.5

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

A message that is not in the archive (sent off-list or not yet received): 1469727602-5081-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org

Acked-by
#2 lore raw
Quoted 3 lines · Alex Deucher

Now that the implementation is complete.

+ Alvin and Ken for awareness.

Thanks,
Rui

Quoted 32 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c +1 -3
index 260da02..57aa342 100644
@@ -106,15 +106,13 @@ static int amdgpu_pp_early_init(void *handle)
 		break;
 	case CHIP_TONGA:
 	case CHIP_FIJI:
+	case CHIP_TOPAZ:
 		adev->pp_enabled = (amdgpu_powerplay == 0) ? false : true;
 		break;
 	case CHIP_CARRIZO:
 	case CHIP_STONEY:
 		adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;
 		break;
-	case CHIP_TOPAZ:
-		adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;
-		break;
 	/* These chips don't have powerplay implemenations */
 	case CHIP_BONAIRE:
 	case CHIP_HAWAII:
Signature · 6 lines
2.5.5

_______________________________________________
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