diff options
| author | Mario Limonciello <[email protected]> | 2022-12-28 07:26:12 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-01-09 22:02:18 +0000 |
| commit | 69939009bde70c87a4fa0d7e03e9d169ab853d88 (patch) | |
| tree | 980207ba510f26dc829f329ac72b558b3a9cf189 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | |
| parent | drm/amd: Use `amdgpu_ucode_*` helpers for VCN (diff) | |
| download | kernel-69939009bde70c87a4fa0d7e03e9d169ab853d88.tar.gz kernel-69939009bde70c87a4fa0d7e03e9d169ab853d88.zip | |
drm/amd: Load VCN microcode during early_init
Simplifies the code so that all VCN versions will get the firmware
name from `amdgpu_ucode_ip_version_decode` and then use this filename
to load microcode as part of the early_init process.
Reviewed-by: Lijo Lazar <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h index dbb8d68a30c6..d3e2af902907 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h @@ -369,6 +369,7 @@ enum vcn_ring_type { VCN_UNIFIED_RING, }; +int amdgpu_vcn_early_init(struct amdgpu_device *adev); int amdgpu_vcn_sw_init(struct amdgpu_device *adev); int amdgpu_vcn_sw_fini(struct amdgpu_device *adev); int amdgpu_vcn_suspend(struct amdgpu_device *adev); |
