Skip to contentSkip to conversation

drm/amdgpu/atomfirmware: Add LpDDR5x and new fields for info v2_3

PATCH In review [email protected] 2 participants 2 messages Mar 13

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/atomfirmware: Add LpDDR5x and new fields for info v2_3

From: Leo Li <[email protected]>

[Why]

Newer DCN bandwidth calculations require new definitions.

[How]

Add new fields cpu_id and vram_bit_width for atom_integrated_system_info_v2_3, and add a memtype for LpDDR5x.

---
 drivers/gpu/drm/amd/include/atomfirmware.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/include/atomfirmware.h +4 -1
index 18f9642a42eed..62f7ed0b20667 100644
@@ -1695,7 +1695,9 @@ struct atom_integrated_system_info_v2_3 {
   uint8_t gpu_package_id;
   struct  edp_info_table  edp1_info;
   struct  edp_info_table  edp2_info;
-  uint32_t  reserved2[8];
+  uint32_t cpuid;
+  uint32_t vram_bit_width;
+  uint32_t reserved2[6];
   struct  atom_external_display_connection_info extdispconninfo;
   uint8_t UMACarveoutVersion;
   uint8_t UMACarveoutIndexMax;
@@ -1770,6 +1772,7 @@ enum atom_dmi_t17_mem_type_def{
   Hbm2MemType,                                          ///< Assign 33 to HBM2
   Ddr5MemType,                                          ///< Assign 34 to DDR5
   LpDdr5MemType,                                        ///< Assign 35 to LPDDR5
+  LpDdr5xMemType,                                       ///< Assign 36 to LPDDR5x
 };
 
 
Signature · 1 line
2.53.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 39 lines · On 3/13/26 12:22, [email protected] wrote:

From: Leo Li <[email protected]>

[Why]

Newer DCN bandwidth calculations require new definitions.

[How]

Add new fields cpu_id and vram_bit_width for atom_integrated_system_info_v2_3, and add a memtype for LpDDR5x.

---
  drivers/gpu/drm/amd/include/atomfirmware.h | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/include/atomfirmware.h +4 -1
index 18f9642a42eed..62f7ed0b20667 100644
@@ -1695,7 +1695,9 @@ struct atom_integrated_system_info_v2_3 {
    uint8_t gpu_package_id;
    struct  edp_info_table  edp1_info;
    struct  edp_info_table  edp2_info;
-  uint32_t  reserved2[8];
+  uint32_t cpuid;
+  uint32_t vram_bit_width;
+  uint32_t reserved2[6];
    struct  atom_external_display_connection_info extdispconninfo;
    uint8_t UMACarveoutVersion;
    uint8_t UMACarveoutIndexMax;
@@ -1770,6 +1772,7 @@ enum atom_dmi_t17_mem_type_def{
    Hbm2MemType,                                          ///< Assign 33 to HBM2
    Ddr5MemType,                                          ///< Assign 34 to DDR5
    LpDdr5MemType,                                        ///< Assign 35 to LPDDR5
+  LpDdr5xMemType,                                       ///< Assign 36 to LPDDR5x
  };