Skip to contentSkip to conversation

drm/amdgpu: Add package type mapping for EAM

PATCH In review Lijo Lazar 2 participants 2 messages Sep 28

Subsystems (2)
lore
Share & tools
lore

Lijo Lazar

author
#0 lore raw

PATCH 1/1 drm/amdgpu: Add package type mapping for EAM

Package Type BB uses EAM design.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +4 -0
index 4762944969b0..87829747d7a2 100644
@@ -334,6 +334,7 @@ void amdgpu_reg_state_sysfs_fini(struct amdgpu_device *adev)
  *
  * - "cem"		- PCIE CEM card
  * - "oam"		- Open Compute Accelerator Module
+ * - "eam"		- Enhanced Accelerator Module
  * - "unknown"	- Not known
  *
  */
@@ -357,6 +358,9 @@ static ssize_t amdgpu_device_get_board_info(struct device *dev,
 	case AMDGPU_PKG_TYPE_OAM:
 		pkg = "oam";
 		break;
+	case AMDGPU_PKG_TYPE_BB:
+		pkg = "eam";
+		break;
 	default:
 		pkg = "unknown";
 		break;
Signature · 1 line
2.49.0
Reviewed-by on v1 1/1
#1 lore raw

AMD General

Thanks & Regards
Asad

-----Original Message-----
From: Lazar, Lijo <[email protected]>
Sent: Monday, September 28, 2026 6:06 PM
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Deucher, Alexander <[email protected]>; Kamal, Asad <[email protected]>
Subject: [PATCH] drm/amdgpu: Add package type mapping for EAM

Package Type BB uses EAM design.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +4 -0
index 4762944969b0..87829747d7a2 100644
@@ -334,6 +334,7 @@ void amdgpu_reg_state_sysfs_fini(struct amdgpu_device *adev)
  *
  * - "cem"             - PCIE CEM card
  * - "oam"             - Open Compute Accelerator Module
+ * - "eam"             - Enhanced Accelerator Module
  * - "unknown" - Not known
  *
  */
@@ -357,6 +358,9 @@ static ssize_t amdgpu_device_get_board_info(struct device *dev,
        case AMDGPU_PKG_TYPE_OAM:
                pkg = "oam";
                break;
+       case AMDGPU_PKG_TYPE_BB:
+               pkg = "eam";
+               break;
        default:
                pkg = "unknown";
                break;

--
2.49.0