drm/amdgpu: Add package type mapping for EAM
Subsystems (2)
PATCH 1/1 drm/amdgpu: Add package type mapping for EAM
Package Type BB uses EAM design.
Signed-off-by Lijo Lazar <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +4 -0
@@ -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
AMD General
Reviewed-by Asad Kamal <[email protected]>
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.
Signed-off-by Lijo Lazar <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +4 -0
@@ -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