diff options
| author | Timur Kristóf <timur.kristof@gmail.com> | 2025-11-07 16:57:37 +0100 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-11-11 21:54:18 -0500 |
| commit | f2e18c946532db7357f33339d0ec1531ebf49ae4 (patch) | |
| tree | 8f7f88c8cbf1f72529ec37274a29c38661f3bf4b /scripts/lib | |
| parent | 43a0ca334e0de9b1eba0dc25f0c901d0e5d02c2c (diff) | |
drm/amdgpu/vce: Move firmware load to amdgpu_vce_early_init
Try to load the VCE firmware at early_init.
When the correct firmware is not found, return -ENOENT.
This way, the driver initialization will complete even
without VCE, and the GPU will be functional, albeit
without video encoding capabilities.
This is necessary because we are planning to add support
for the VCE1, and AMD hasn't yet publised the correct
firmware for this version. So we need to anticipate that
users will try to boot amdgpu on SI GPUs without the
correct VCE1 firmware present on their system.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions
