Skip to contentSkip to conversation

drm/amdgpu/pm: update documentation on memory clock

PATCH In review Alex Deucher 3 participants 5 messages May 2, 2024 – Jul 26, 2024

Subsystems (3)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu/pm: update documentation on memory clock

Update documentation for RDNA3 dGPUs.

---
 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/amd/pm/amdgpu_pm.c +6 -0
index ec9058c80647a..9ad114e695e5d 100644
@@ -610,12 +610,18 @@ static ssize_t amdgpu_set_pp_table(struct device *dev,
  *
  * Clock conversion (Mhz):
  *
+ * Pre-RDNA3 GPUs:
+ *
  * HBM: effective_memory_clock = memory_controller_clock * 1
  *
  * G5: effective_memory_clock = memory_controller_clock * 1
  *
  * G6: effective_memory_clock = memory_controller_clock * 2
  *
+ * RDNA3 GPUs:
+ *
+ * G6: effective_memory_clock = memory_controller_clock * 1
+ *
  * DRAM data rate (MT/s):
  *
  * HBM: effective_memory_clock * 2 = data_rate
Signature · 1 line
2.44.0
#1 lore raw

Ping?

Quoted 34 lines · Alex Deucher

Update documentation for RDNA3 dGPUs.

---
 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/amd/pm/amdgpu_pm.c +6 -1
index ec9058c80647a..9ad114e695e5d 100644
@@ -610,12 +610,18 @@ static ssize_t amdgpu_set_pp_table(struct device *dev,
  *
  * Clock conversion (Mhz):
  *
+ * Pre-RDNA3 GPUs:
+ *
  * HBM: effective_memory_clock = memory_controller_clock * 1
  *
  * G5: effective_memory_clock = memory_controller_clock * 1
  *
  * G6: effective_memory_clock = memory_controller_clock * 2
  *
+ * RDNA3 GPUs:
+ *
+ * G6: effective_memory_clock = memory_controller_clock * 1
+ *
  * DRAM data rate (MT/s):
  *
  * HBM: effective_memory_clock * 2 = data_rate
--

2.44.0

#2 lore raw
In reply to Alex Deucher

Ping?

Quoted 34 lines · Alex Deucher

Update documentation for RDNA3 dGPUs.

---
 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/amd/pm/amdgpu_pm.c +6 -1
index ec9058c80647a..9ad114e695e5d 100644
@@ -610,12 +610,18 @@ static ssize_t amdgpu_set_pp_table(struct device *dev,
  *
  * Clock conversion (Mhz):
  *
+ * Pre-RDNA3 GPUs:
+ *
  * HBM: effective_memory_clock = memory_controller_clock * 1
  *
  * G5: effective_memory_clock = memory_controller_clock * 1
  *
  * G6: effective_memory_clock = memory_controller_clock * 2
  *
+ * RDNA3 GPUs:
+ *
+ * G6: effective_memory_clock = memory_controller_clock * 1
+ *
  * DRAM data rate (MT/s):
  *
  * HBM: effective_memory_clock * 2 = data_rate
--

2.44.0

maintainer
#3 lore raw

[AMD Official Use Only - AMD Internal Distribution Only]

Hi Alex,
I know that G6 MCLK = 2*UCLK.
May I know how did you get the data that effective_memory_clock = memory_controller_clock * 1? Thanks.

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Friday, July 26, 2024 5:41 AM
To: Deucher, Alexander <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH] drm/amdgpu/pm: update documentation on memory clock

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Ping?

Quoted 34 lines · Alex Deucher

Update documentation for RDNA3 dGPUs.

---
 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/amd/pm/amdgpu_pm.c +6 -1
index ec9058c80647a..9ad114e695e5d 100644
@@ -610,12 +610,18 @@ static ssize_t amdgpu_set_pp_table(struct device *dev,
  *
  * Clock conversion (Mhz):
  *
+ * Pre-RDNA3 GPUs:
+ *
  * HBM: effective_memory_clock = memory_controller_clock * 1
  *
  * G5: effective_memory_clock = memory_controller_clock * 1
  *
  * G6: effective_memory_clock = memory_controller_clock * 2
  *
+ * RDNA3 GPUs:
+ *
+ * G6: effective_memory_clock = memory_controller_clock * 1
+ *
  * DRAM data rate (MT/s):
  *
  * HBM: effective_memory_clock * 2 = data_rate
--

2.44.0

#4 lore raw
Quoted 6 lines · Kenneth

[AMD Official Use Only - AMD Internal Distribution Only]

Hi Alex,
I know that G6 MCLK = 2*UCLK.
May I know how did you get the data that effective_memory_clock = memory_controller_clock * 1?

I swear someone on the pplib team told me it was 1 due to changes in the PHY. I stand corrected.

Alex

Quoted 50 lines

Thanks.

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Friday, July 26, 2024 5:41 AM
To: Deucher, Alexander <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH] drm/amdgpu/pm: update documentation on memory clock

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Ping?

Quoted 34 lines · Alex Deucher

Update documentation for RDNA3 dGPUs.

---
 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/amd/pm/amdgpu_pm.c +6 -1
index ec9058c80647a..9ad114e695e5d 100644
@@ -610,12 +610,18 @@ static ssize_t amdgpu_set_pp_table(struct device *dev,
  *
  * Clock conversion (Mhz):
  *
+ * Pre-RDNA3 GPUs:
+ *
  * HBM: effective_memory_clock = memory_controller_clock * 1
  *
  * G5: effective_memory_clock = memory_controller_clock * 1
  *
  * G6: effective_memory_clock = memory_controller_clock * 2
  *
+ * RDNA3 GPUs:
+ *
+ * G6: effective_memory_clock = memory_controller_clock * 1
+ *
  * DRAM data rate (MT/s):
  *
  * HBM: effective_memory_clock * 2 = data_rate
--

2.44.0