diff options
| author | Likun Gao <[email protected]> | 2022-09-27 09:15:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-09-29 13:41:46 +0000 |
| commit | 2d89e2ddfd00ca569dd73883c7c70badbd57f4ac (patch) | |
| tree | 6dc04e9fa7ab2100da01dd7ca231bceb53a9cfed /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/amdgpu: fix a compiling error in old kernels (diff) | |
| download | kernel-2d89e2ddfd00ca569dd73883c7c70badbd57f4ac.tar.gz kernel-2d89e2ddfd00ca569dd73883c7c70badbd57f4ac.zip | |
drm/amdgpu: fix compiler warning for amdgpu_gfx_cp_init_microcode
Change the type of parameter on amdgpu_gfx_cp_init_microcode to fix
compiler warning.
Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c index e3535a963c5a..9546adc8a76f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c @@ -868,7 +868,7 @@ int amdgpu_gfx_get_num_kcq(struct amdgpu_device *adev) } void amdgpu_gfx_cp_init_microcode(struct amdgpu_device *adev, - enum AMDGPU_UCODE_ID ucode_id) + uint32_t ucode_id) { const struct gfx_firmware_header_v1_0 *cp_hdr; const struct gfx_firmware_header_v2_0 *cp_hdr_v2_0; |
