aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h
diff options
context:
space:
mode:
authorHawking Zhang <[email protected]>2022-09-15 16:21:50 +0000
committerAlex Deucher <[email protected]>2022-09-30 20:59:00 +0000
commit04fa38cce6e02be4362cd889780d58ec275c4d26 (patch)
tree799dae9b426f621796fbd7bc9c9cefb5da8b1642 /drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h
parentdrm/amdgpu: add helper to init rlc fw in header v2_4 (diff)
downloadkernel-04fa38cce6e02be4362cd889780d58ec275c4d26.tar.gz
kernel-04fa38cce6e02be4362cd889780d58ec275c4d26.zip
drm/amdgpu: add helper to init rlc firmware
To initialzie rlc firmware according to rlc firmware header version v2: squash in backwards compat fix Signed-off-by: Hawking Zhang <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h
index 03ac36b2c2cf..23f060db9255 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h
@@ -267,5 +267,7 @@ int amdgpu_gfx_rlc_init_csb(struct amdgpu_device *adev);
int amdgpu_gfx_rlc_init_cpt(struct amdgpu_device *adev);
void amdgpu_gfx_rlc_setup_cp_table(struct amdgpu_device *adev);
void amdgpu_gfx_rlc_fini(struct amdgpu_device *adev);
-
+int amdgpu_gfx_rlc_init_microcode(struct amdgpu_device *adev,
+ uint16_t version_major,
+ uint16_t version_minor);
#endif