2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/amd/pm/legacy-dpm
Mario Limonciello ea5d493498 drm/amd: Add the capability to mark certain firmware as "required"
Some of the firmware that is loaded by amdgpu is not actually required.
For example the ISP firmware on some SoCs is optional, and if it's not
present the ISP IP block just won't be initialized.

The firmware loader core however will show a warning when this happens
like this:
```
Direct firmware load for amdgpu/isp_4_1_0.bin failed with error -2
```

To avoid confusion for non-required firmware, adjust the amd-ucode helper
to take an extra argument indicating if the firmware is required or
optional.

On optional firmware use firmware_request_nowarn() instead of
request_firmware() to avoid the warnings.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/amd-gfx/df71d375-7abd-4b32-97ce-15e57846eed8@amd.com/T/#t
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-12-10 10:26:51 -05:00
..
cik_dpm.h
kv_dpm.c drm/amdgpu: pass ip_block in set_clockgating_state 2024-12-10 10:26:47 -05:00
kv_dpm.h
kv_smc.c
legacy_dpm.c drm/amd/pm: remove logically dead code 2024-05-13 16:12:02 -04:00
legacy_dpm.h
Makefile
ppsmc.h
r600_dpm.h drm/amd/pm: Clean up errors in r600_dpm.h 2023-08-09 09:42:42 -04:00
si_dpm.c drm/amd: Add the capability to mark certain firmware as "required" 2024-12-10 10:26:51 -05:00
si_dpm.h
si_smc.c
sislands_smc.h drm/amd/pm: Clean up errors in sislands_smc.h 2023-08-09 09:42:44 -04:00