Skip to contentSkip to conversation

drm/amdgpu/ras: Use fw-managed EEPROM for MP1 IP_VERSION(13, 0, 12)

PATCH In review Ce Sun 2 participants 3 messages Oct 9 – Oct 10

Subsystems (2)
lore
Share & tools
lore

Ce Sun

author
#0 lore raw

PATCH 1/1 drm/amdgpu/ras: Use fw-managed EEPROM for MP1 IP_VERSION(13, 0, 12)

For ASIC with MP1_HWIP IP_VERSION(13, 0, 12), enable firmware managed EEPROM

---
 drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c +1 -2
index fe0e35357af1..cd332fc267be 100644
@@ -40,11 +40,10 @@ static const struct ras_eeprom_ops *ras_eeprom_mgr_get_ip_func(
 	switch (ip_version) {
 	case IP_VERSION(13, 0, 6):
 	case IP_VERSION(13, 0, 14):
-	case IP_VERSION(13, 0, 12):
-	case IP_VERSION(13, 0, 15):
 		mgr->eeprom_early_init_service_supported = false;
 		return &ras_drv_eeprom_ops;
 	case IP_VERSION(15, 0, 8):
+	case IP_VERSION(13, 0, 12):
 		mgr->eeprom_early_init_service_supported = true;
 		mgr->fw_record_enabled = true;
 		return &ras_fw_eeprom_ops;
Signature · 1 line
2.34.1
#1 lore raw

RE: [PATCH] drm/amdgpu/ras: Use fw-managed EEPROM for MP1 IP_VERSION(13,0,12)

AMD General

Quoted 24 lines

-----Original Message-----
From: Sun, Ce(Overlord) <[email protected]>
Sent: Saturday, October 10, 2026 12:49 AM
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Chai, Thomas <[email protected]>; Zhou1, Tao <[email protected]>; Yang, Stanley <[email protected]>; Sun, Ce(Overlord) <[email protected]>
Subject: [PATCH] drm/amdgpu/ras: Use fw-managed EEPROM for MP1 IP_VERSION(13,0,12)

For ASIC with MP1_HWIP IP_VERSION(13, 0, 12), enable firmware managed EEPROM

---
 drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c +0 -0
index fe0e35357af1..cd332fc267be 100644

drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c static const struct ras_eeprom_ops · line 45

Quoted 6 lines
drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c +0 -2
@@ -40,11 +40,10 @@ static const struct ras_eeprom_ops
 *ras_eeprom_mgr_get_ip_func(
      switch (ip_version) {
      case IP_VERSION(13, 0, 6):
      case IP_VERSION(13, 0, 14):
-     case IP_VERSION(13, 0, 12):
-     case IP_VERSION(13, 0, 15):

[Tao] Why is IP_VERSION(13, 0, 15) affected as well?

Quoted 9 lines
drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c +1 -0
              mgr->eeprom_early_init_service_supported = false;
              return &ras_drv_eeprom_ops;
      case IP_VERSION(15, 0, 8):
+     case IP_VERSION(13, 0, 12):
              mgr->eeprom_early_init_service_supported = true;
              mgr->fw_record_enabled = true;
              return &ras_fw_eeprom_ops;

--
2.34.1

Reviewed-by
#2 lore raw

RE: [PATCH] drm/amdgpu/ras: Use fw-managed EEPROM for MP1 IP_VERSION(13,0,12)

AMD General

Quoted 29 lines

-----Original Message-----
From: Zhou1, Tao
Sent: Saturday, October 10, 2026 10:14 AM
To: Sun, Ce(Overlord) <[email protected]>; [email protected]
Cc: Zhang, Hawking <[email protected]>; Chai, Thomas <[email protected]>; Yang, Stanley <[email protected]>
Subject: RE: [PATCH] drm/amdgpu/ras: Use fw-managed EEPROM for MP1 IP_VERSION(13,0,12)

Quoted 18 lines

-----Original Message-----
From: Sun, Ce(Overlord) <[email protected]>
Sent: Saturday, October 10, 2026 12:49 AM
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Chai, Thomas <[email protected]>; Zhou1, Tao <[email protected]>; Yang, Stanley <[email protected]>; Sun, Ce(Overlord) <[email protected]>
Subject: [PATCH] drm/amdgpu/ras: Use fw-managed EEPROM for MP1 IP_VERSION(13,0,12)

For ASIC with MP1_HWIP IP_VERSION(13, 0, 12), enable firmware managed EEPROM

---
 drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Quoted 14 lines

drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c static const struct ras_eeprom_ops · line 45

Quoted 12 lines
drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c +0 -2
index fe0e35357af1..cd332fc267be 100644
@@ -40,11 +40,10 @@ static const struct ras_eeprom_ops
 *ras_eeprom_mgr_get_ip_func(
    switch (ip_version) {
    case IP_VERSION(13, 0, 6):
    case IP_VERSION(13, 0, 14):
-   case IP_VERSION(13, 0, 12):
-   case IP_VERSION(13, 0, 15):

[Tao] Why is IP_VERSION(13, 0, 15) affected as well?

[Tao] since there is no IP_VERSION(13, 0, 15) actually, then the patch is

Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c +1 -0
            mgr->eeprom_early_init_service_supported = false;
            return &ras_drv_eeprom_ops;
    case IP_VERSION(15, 0, 8):
+   case IP_VERSION(13, 0, 12):
            mgr->eeprom_early_init_service_supported = true;
            mgr->fw_record_enabled = true;
            return &ras_fw_eeprom_ops;

--
2.34.1