Searched hist:"2210 af50ae7f4104269dfde7bafbbfbacdbe1a2b" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ucode.h | diff 2210af50ae7f4104269dfde7bafbbfbacdbe1a2b Tue Jan 03 13:18:19 CST 2023 Mario Limonciello <mario.limonciello@amd.com> drm/amd: Add a new helper for loading/validating microcode
All microcode runs a basic validation after it's been loaded. Each IP block as part of init will run both.
Introduce a wrapper for request_firmware and amdgpu_ucode_validate. This wrapper will also remap any error codes from request_firmware to -ENODEV. This is so that early_init will fail if firmware couldn't be loaded instead of the IP block being disabled.
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
H A D | amdgpu_ucode.c | diff 2210af50ae7f4104269dfde7bafbbfbacdbe1a2b Tue Jan 03 13:18:19 CST 2023 Mario Limonciello <mario.limonciello@amd.com> drm/amd: Add a new helper for loading/validating microcode
All microcode runs a basic validation after it's been loaded. Each IP block as part of init will run both.
Introduce a wrapper for request_firmware and amdgpu_ucode_validate. This wrapper will also remap any error codes from request_firmware to -ENODEV. This is so that early_init will fail if firmware couldn't be loaded instead of the IP block being disabled.
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|