]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu/atomfirmware: Add LpDDR5x and new fields for info v2_3
authorLeo Li <sunpeng.li@amd.com>
Fri, 13 Mar 2026 18:22:41 +0000 (14:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Mar 2026 14:50:30 +0000 (10:50 -0400)
[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.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/atomfirmware.h

index 18f9642a42eed93ba858bb1083173190a52af2e5..62f7ed0b20667517a082c73ff84dfc8fcf85b780 100644 (file)
@@ -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
 };