Commit 15bdd0ea authored by Leo Li's avatar Leo Li Committed by Alex Deucher
Browse files

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



[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: default avatarAlex Hung <alex.hung@amd.com>
Signed-off-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c51632d1
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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
};