Home
last modified time | relevance | path

Searched refs:pfp_fw (Results 1 – 16 of 16) sorted by relevance

/drivers/gpu/drm/radeon/
Dni.c773 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in ni_init_microcode()
776 if (rdev->pfp_fw->size != pfp_req_size) { in ni_init_microcode()
779 rdev->pfp_fw->size, fw_name); in ni_init_microcode()
844 release_firmware(rdev->pfp_fw); in ni_init_microcode()
845 rdev->pfp_fw = NULL; in ni_init_microcode()
1532 if (!rdev->me_fw || !rdev->pfp_fw) in cayman_cp_load_microcode()
1537 fw_data = (const __be32 *)rdev->pfp_fw->data; in cayman_cp_load_microcode()
2295 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in cayman_init()
2303 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw || !rdev->mc_fw) { in cayman_init()
Dr600_cp.c354 err = request_firmware(&dev_priv->pfp_fw, fw_name, &pdev->dev); in r600_cp_init_microcode()
357 if (dev_priv->pfp_fw->size != pfp_req_size) { in r600_cp_init_microcode()
360 dev_priv->pfp_fw->size, fw_name); in r600_cp_init_microcode()
383 release_firmware(dev_priv->pfp_fw); in r600_cp_init_microcode()
384 dev_priv->pfp_fw = NULL; in r600_cp_init_microcode()
396 if (!dev_priv->me_fw || !dev_priv->pfp_fw) in r600_cp_load_microcode()
420 fw_data = (const __be32 *)dev_priv->pfp_fw->data; in r600_cp_load_microcode()
489 if (!dev_priv->me_fw || !dev_priv->pfp_fw) in r700_cp_load_microcode()
507 fw_data = (const __be32 *)dev_priv->pfp_fw->data; in r700_cp_load_microcode()
2264 if (!dev_priv->me_fw || !dev_priv->pfp_fw) { in r600_do_init_cp()
Dcik.c2064 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in cik_init_microcode()
2067 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in cik_init_microcode()
2070 if (rdev->pfp_fw->size != pfp_req_size) { in cik_init_microcode()
2073 rdev->pfp_fw->size, fw_name); in cik_init_microcode()
2078 err = radeon_ucode_validate(rdev->pfp_fw); in cik_init_microcode()
2308 release_firmware(rdev->pfp_fw); in cik_init_microcode()
2309 rdev->pfp_fw = NULL; in cik_init_microcode()
4276 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw) in cik_cp_gfx_load_microcode()
4283 (const struct gfx_firmware_header_v1_0 *)rdev->pfp_fw->data; in cik_cp_gfx_load_microcode()
4297 (rdev->pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in cik_cp_gfx_load_microcode()
[all …]
Dsi.c1719 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in si_init_microcode()
1722 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in si_init_microcode()
1725 if (rdev->pfp_fw->size != pfp_req_size) { in si_init_microcode()
1728 rdev->pfp_fw->size, fw_name); in si_init_microcode()
1733 err = radeon_ucode_validate(rdev->pfp_fw); in si_init_microcode()
1894 release_firmware(rdev->pfp_fw); in si_init_microcode()
1895 rdev->pfp_fw = NULL; in si_init_microcode()
3481 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw) in si_cp_load_microcode()
3488 (const struct gfx_firmware_header_v1_0 *)rdev->pfp_fw->data; in si_cp_load_microcode()
3502 (rdev->pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in si_cp_load_microcode()
[all …]
Drv770.c1091 if (!rdev->me_fw || !rdev->pfp_fw) in rv770_cp_load_microcode()
1107 fw_data = (const __be32 *)rdev->pfp_fw->data; in rv770_cp_load_microcode()
1903 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in rv770_init()
Dr600.c2542 err = request_firmware(&rdev->pfp_fw, fw_name, rdev->dev); in r600_init_microcode()
2545 if (rdev->pfp_fw->size != pfp_req_size) { in r600_init_microcode()
2548 rdev->pfp_fw->size, fw_name); in r600_init_microcode()
2599 release_firmware(rdev->pfp_fw); in r600_init_microcode()
2600 rdev->pfp_fw = NULL; in r600_init_microcode()
2646 if (!rdev->me_fw || !rdev->pfp_fw) in r600_cp_load_microcode()
2671 fw_data = (const __be32 *)rdev->pfp_fw->data; in r600_cp_load_microcode()
3253 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in r600_init()
Dradeon_kfd.c824 hdr = (const union radeon_firmware_header *) rdev->pfp_fw->data; in get_fw_version()
Dradeon_cp.c1818 release_firmware(dev_priv->pfp_fw); in radeon_do_release()
1819 dev_priv->pfp_fw = NULL; in radeon_do_release()
Devergreen.c3059 if (!rdev->me_fw || !rdev->pfp_fw) in evergreen_cp_load_microcode()
3069 fw_data = (const __be32 *)rdev->pfp_fw->data; in evergreen_cp_load_microcode()
5770 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw || !rdev->mc_fw) { in evergreen_init()
5778 if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) { in evergreen_init()
Dradeon_drv.h321 const struct firmware *me_fw, *pfp_fw; member
Dradeon.h2402 const struct firmware *pfp_fw; /* r6/700 PFP firmware */ member
/drivers/gpu/drm/amd/amdgpu/
Dgfx_v7_0.c928 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v7_0_init_microcode()
931 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v7_0_init_microcode()
980 release_firmware(adev->gfx.pfp_fw); in gfx_v7_0_init_microcode()
981 adev->gfx.pfp_fw = NULL; in gfx_v7_0_init_microcode()
2744 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v7_0_cp_gfx_load_microcode()
2747 pfp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v7_0_cp_gfx_load_microcode()
2765 (adev->gfx.pfp_fw->data + in gfx_v7_0_cp_gfx_load_microcode()
4314 (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v7_0_init_cp_pg_table()
4316 (adev->gfx.pfp_fw->data + in gfx_v7_0_init_cp_pg_table()
Dgfx_v8_0.c757 err = request_firmware(&adev->gfx.pfp_fw, fw_name, adev->dev); in gfx_v8_0_init_microcode()
760 err = amdgpu_ucode_validate(adev->gfx.pfp_fw); in gfx_v8_0_init_microcode()
763 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v8_0_init_microcode()
832 info->fw = adev->gfx.pfp_fw; in gfx_v8_0_init_microcode()
881 release_firmware(adev->gfx.pfp_fw); in gfx_v8_0_init_microcode()
882 adev->gfx.pfp_fw = NULL; in gfx_v8_0_init_microcode()
3135 if (!adev->gfx.me_fw || !adev->gfx.pfp_fw || !adev->gfx.ce_fw) in gfx_v8_0_cp_gfx_load_microcode()
3139 adev->gfx.pfp_fw->data; in gfx_v8_0_cp_gfx_load_microcode()
3153 (adev->gfx.pfp_fw->data + in gfx_v8_0_cp_gfx_load_microcode()
Damdgpu_amdkfd_gfx_v8.c496 adev->gfx.pfp_fw->data; in get_fw_version()
Damdgpu_amdkfd_gfx_v7.c643 adev->gfx.pfp_fw->data; in get_fw_version()
Damdgpu.h1180 const struct firmware *pfp_fw; /* PFP firmware */ member