Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Alex Hung <alex.hung@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Leo Li and committed by
Alex Deucher
15bdd0ea c51632d1

+4 -1
+4 -1
drivers/gpu/drm/amd/include/atomfirmware.h
··· 1695 1695 uint8_t gpu_package_id; 1696 1696 struct edp_info_table edp1_info; 1697 1697 struct edp_info_table edp2_info; 1698 - uint32_t reserved2[8]; 1698 + uint32_t cpuid; 1699 + uint32_t vram_bit_width; 1700 + uint32_t reserved2[6]; 1699 1701 struct atom_external_display_connection_info extdispconninfo; 1700 1702 uint8_t UMACarveoutVersion; 1701 1703 uint8_t UMACarveoutIndexMax; ··· 1772 1770 Hbm2MemType, ///< Assign 33 to HBM2 1773 1771 Ddr5MemType, ///< Assign 34 to DDR5 1774 1772 LpDdr5MemType, ///< Assign 35 to LPDDR5 1773 + LpDdr5xMemType, ///< Assign 36 to LPDDR5x 1775 1774 }; 1776 1775 1777 1776