Skip to contentSkip to conversation

drm/amdgpu: enable GFXOFF for navy_flounder

PATCH In review Jiansong Chen 3 participants 3 messages Jul 30, 2020

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

PATCH 1/1 drm/amdgpu: enable GFXOFF for navy_flounder

Enable GFXOFF for navy_flounder.

Change-Id Ia49c1ad70e3521447b9db101f5c0eae70b1df665
---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c    | 1 +
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 1 +
 2 files changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +1 -0
index ca16f01956d3..fe8ccc9be682 100644
@@ -7529,6 +7529,7 @@ static int gfx_v10_0_set_powergating_state(void *handle,
 	case CHIP_NAVI14:
 	case CHIP_NAVI12:
 	case CHIP_SIENNA_CICHLID:
+	case CHIP_NAVY_FLOUNDER:
 		amdgpu_gfx_off_ctrl(adev, enable);
 		break;
 	default:
drivers/gpu/drm/amd/powerplay/smu_v11_0.c +1 -0
index a9453ec01619..7d7de854a826 100644
@@ -1029,6 +1029,7 @@ int smu_v11_0_gfx_off_control(struct smu_context *smu, bool enable)
 	case CHIP_NAVI14:
 	case CHIP_NAVI12:
 	case CHIP_SIENNA_CICHLID:
+	case CHIP_NAVY_FLOUNDER:
 		if (!(adev->pm.pp_feature & PP_GFXOFF_MASK))
 			return 0;
 		if (enable)
Signature · 6 lines
2.17.1

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

[AMD Official Use Only - Internal Distribution Only]

This patch is Reviewed-by: Likun Gao <[email protected]>

Regards,
Likun

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Jiansong Chen
Sent: Thursday, July 30, 2020 6:14 PM
To: [email protected]
Cc: Zhou1, Tao <[email protected]>; Chen, Jiansong (Simon) <[email protected]>
Subject: [PATCH] drm/amdgpu: enable GFXOFF for navy_flounder

Enable GFXOFF for navy_flounder.

Change-Id Ia49c1ad70e3521447b9db101f5c0eae70b1df665
---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c    | 1 +
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 1 +
 2 files changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +1 -0
index ca16f01956d3..fe8ccc9be682 100644
@@ -7529,6 +7529,7 @@ static int gfx_v10_0_set_powergating_state(void *handle,
 	case CHIP_NAVI14:
 	case CHIP_NAVI12:
 	case CHIP_SIENNA_CICHLID:
+	case CHIP_NAVY_FLOUNDER:
 		amdgpu_gfx_off_ctrl(adev, enable);
 		break;
 	default:
drivers/gpu/drm/amd/powerplay/smu_v11_0.c +1 -0
index a9453ec01619..7d7de854a826 100644
@@ -1029,6 +1029,7 @@ int smu_v11_0_gfx_off_control(struct smu_context *smu, bool enable)
 	case CHIP_NAVI14:
 	case CHIP_NAVI12:
 	case CHIP_SIENNA_CICHLID:
+	case CHIP_NAVY_FLOUNDER:
 		if (!(adev->pm.pp_feature & PP_GFXOFF_MASK))
 			return 0;
 		if (enable)
Signature · 10 lines
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7CLikun.Gao%40amd.com%7C807a80497ba54f52dfca08d83471477f%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637317008444002971&amp;sdata=Ti00sNdv39%2FleSVqkDw1Q1oaBJKoUNw1%2BeQEKSuj7Jk%3D&amp;reserved=0
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by on v1 1/1
#2 lore raw
In reply to Jiansong Chen

[AMD Official Use Only - Internal Distribution Only]

Quoted 44 lines

-----Original Message-----
From: Jiansong Chen <[email protected]>
Sent: Thursday, July 30, 2020 6:14 PM
To: [email protected]
Cc: Zhou1, Tao <[email protected]>; Chen, Jiansong (Simon) <[email protected]>
Subject: [PATCH] drm/amdgpu: enable GFXOFF for navy_flounder

Enable GFXOFF for navy_flounder.

Change-Id Ia49c1ad70e3521447b9db101f5c0eae70b1df665
---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c    | 1 +
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 1 +
 2 files changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +1 -0
index ca16f01956d3..fe8ccc9be682 100644
@@ -7529,6 +7529,7 @@ static int gfx_v10_0_set_powergating_state(void
 *handle,
 case CHIP_NAVI14:
 case CHIP_NAVI12:
 case CHIP_SIENNA_CICHLID:
+case CHIP_NAVY_FLOUNDER:
 amdgpu_gfx_off_ctrl(adev, enable);
 break;

default:

drivers/gpu/drm/amd/powerplay/smu_v11_0.c +1 -0
index a9453ec01619..7d7de854a826 100644
@@ -1029,6 +1029,7 @@ int smu_v11_0_gfx_off_control(struct smu_context
 *smu, bool enable)
 case CHIP_NAVI14:
 case CHIP_NAVI12:
 case CHIP_SIENNA_CICHLID:
+case CHIP_NAVY_FLOUNDER:
 if (!(adev->pm.pp_feature & PP_GFXOFF_MASK))
 return 0;
Quoted 3 lines

if (enable)
--
2.17.1

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