drm/amdgpu: Add umc_info v4_0 structure

To be used by aqua_vanjaram

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Candice Li <candice.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Hawking Zhang 2023-08-23 17:41:44 +08:00 committed by Alex Deucher
parent 49a30c3d1a
commit 48d02dcba1

View file

@ -3117,6 +3117,24 @@ enum atom_umc_config1_def {
UMC_CONFIG1__ENABLE_ECC_CAPABLE = 0x00010000,
};
struct atom_umc_info_v4_0 {
struct atom_common_table_header table_header;
uint32_t ucode_reserved[5];
uint8_t umcip_min_ver;
uint8_t umcip_max_ver;
uint8_t vram_type;
uint8_t umc_config;
uint32_t mem_refclk_10khz;
uint32_t clk_reserved[4];
uint32_t golden_reserved;
uint32_t umc_config1;
uint32_t reserved[2];
uint8_t channel_num;
uint8_t channel_width;
uint8_t channel_reserve[2];
uint8_t umc_info_reserved[16];
};
/*
***************************************************************************
Data Table vram_info structure