Home
last modified time | relevance | path

Searched refs:toc_fw_size (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v11_0.c1036 uint32_t toc_fw_size; in gfx_v11_0_rlc_backdoor_autoload_copy_ucode() local
1043 toc_fw_size = rlc_autoload_info[id].size; in gfx_v11_0_rlc_backdoor_autoload_copy_ucode()
1046 fw_size = toc_fw_size; in gfx_v11_0_rlc_backdoor_autoload_copy_ucode()
1048 if (fw_size > toc_fw_size) in gfx_v11_0_rlc_backdoor_autoload_copy_ucode()
1049 fw_size = toc_fw_size; in gfx_v11_0_rlc_backdoor_autoload_copy_ucode()
1053 if (fw_size < toc_fw_size) in gfx_v11_0_rlc_backdoor_autoload_copy_ucode()
1054 memset(ptr + toc_offset + fw_size, 0, toc_fw_size - fw_size); in gfx_v11_0_rlc_backdoor_autoload_copy_ucode()
H A Dgfx_v10_0.c5302 uint32_t toc_fw_size; in gfx_v10_0_rlc_backdoor_autoload_copy_ucode() local
5309 toc_fw_size = rlc_autoload_info[id].size; in gfx_v10_0_rlc_backdoor_autoload_copy_ucode()
5312 fw_size = toc_fw_size; in gfx_v10_0_rlc_backdoor_autoload_copy_ucode()
5314 if (fw_size > toc_fw_size) in gfx_v10_0_rlc_backdoor_autoload_copy_ucode()
5315 fw_size = toc_fw_size; in gfx_v10_0_rlc_backdoor_autoload_copy_ucode()
5319 if (fw_size < toc_fw_size) in gfx_v10_0_rlc_backdoor_autoload_copy_ucode()
5320 memset(ptr + toc_offset + fw_size, 0, toc_fw_size - fw_size); in gfx_v10_0_rlc_backdoor_autoload_copy_ucode()