Searched refs:pfp_fw (Results 1 – 16 of 16) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | ni.c | 773 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()
|
D | r600_cp.c | 354 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()
|
D | cik.c | 2064 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 …]
|
D | si.c | 1719 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 …]
|
D | rv770.c | 1091 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()
|
D | r600.c | 2542 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()
|
D | radeon_kfd.c | 824 hdr = (const union radeon_firmware_header *) rdev->pfp_fw->data; in get_fw_version()
|
D | radeon_cp.c | 1818 release_firmware(dev_priv->pfp_fw); in radeon_do_release() 1819 dev_priv->pfp_fw = NULL; in radeon_do_release()
|
D | evergreen.c | 3059 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()
|
D | radeon_drv.h | 321 const struct firmware *me_fw, *pfp_fw; member
|
D | radeon.h | 2402 const struct firmware *pfp_fw; /* r6/700 PFP firmware */ member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v7_0.c | 928 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()
|
D | gfx_v8_0.c | 757 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()
|
D | amdgpu_amdkfd_gfx_v8.c | 496 adev->gfx.pfp_fw->data; in get_fw_version()
|
D | amdgpu_amdkfd_gfx_v7.c | 643 adev->gfx.pfp_fw->data; in get_fw_version()
|
D | amdgpu.h | 1180 const struct firmware *pfp_fw; /* PFP firmware */ member
|