Skip to contentSkip to conversation

drm/amdgpu: add NBIO IP v7.11.3 discovery support

PATCH In review Tim Huang 2 participants 3 messages Jun 30, 2024 – Jul 1, 2024

Subsystems (2)
lore
Share & tools
lore

Tim Huang

author
#0 lore raw

PATCH 1/2 drm/amdgpu: add NBIO IP v7.11.3 discovery support

This patch is to add NBIO 7.11.3 support.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +1 -0
index b1ee5bafa493..c9dc921d6a92 100644
@@ -2701,6 +2701,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
 		break;
 	case IP_VERSION(7, 11, 0):
 	case IP_VERSION(7, 11, 1):
+	case IP_VERSION(7, 11, 3):
 		adev->nbio.funcs = &nbio_v7_11_funcs;
 		adev->nbio.hdp_flush_reg = &nbio_v7_11_hdp_flush_reg;
 		break;
Signature · 1 line
2.43.0
author
#1 lore raw

PATCH 2/2 drm/amdgpu: Add NBIO IP v7.11.3 support

Enable setting soc21 common clockgating for NBIO 7.11.3.

---
 drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/soc21.c +1 -0
index b04c763015d3..b43c50f1c7ad 100644
@@ -953,6 +953,7 @@ static int soc21_common_set_clockgating_state(void *handle,
 	case IP_VERSION(7, 7, 1):
 	case IP_VERSION(7, 11, 0):
 	case IP_VERSION(7, 11, 1):
+	case IP_VERSION(7, 11, 3):
 		adev->nbio.funcs->update_medium_grain_clock_gating(adev,
 				state == AMD_CG_STATE_GATE);
 		adev->nbio.funcs->update_medium_grain_light_sleep(adev,
Signature · 1 line
2.43.0
maintainer Reviewed-by Reviewed-by Yifan Zhang on v1 2/2
#2 lore raw

Re: [PATCH 2/2] drm/amdgpu: Add NBIO IP v7.11.3 support

[Public]

Series is:

________________________________
From: Huang, Tim <[email protected]>
Sent: Sunday, June 30, 2024 10:48 AM
To: [email protected] <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Zhang, Yifan <[email protected]>; Huang, Tim <[email protected]>; Zhang, Yifan <[email protected]>
Subject: [PATCH 2/2] drm/amdgpu: Add NBIO IP v7.11.3 support

Enable setting soc21 common clockgating for NBIO 7.11.3.

---
 drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/soc21.c +1 -0
index b04c763015d3..b43c50f1c7ad 100644
@@ -953,6 +953,7 @@ static int soc21_common_set_clockgating_state(void *handle,
         case IP_VERSION(7, 7, 1):
         case IP_VERSION(7, 11, 0):
         case IP_VERSION(7, 11, 1):
+       case IP_VERSION(7, 11, 3):
                 adev->nbio.funcs->update_medium_grain_clock_gating(adev,
                                 state == AMD_CG_STATE_GATE);
                 adev->nbio.funcs->update_medium_grain_light_sleep(adev,

--
2.43.0