]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu: Add umc_info v4_0 structure
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 23 Aug 2023 09:41:44 +0000 (17:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 22:09:38 +0000 (18:09 -0400)
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>
drivers/gpu/drm/amd/include/atomfirmware.h

index e68c1e280322ace66fd825d6350cf463bf7e6f22..fa7d6ced786f1985ca4ba1d55371d5b1b1ca4486 100644 (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