[PATCH 00/10] switch to common helper for rlc fw init

Christian König ckoenig.leichtzumerken at gmail.com
Thu Sep 15 17:13:01 UTC 2022


Nice cleanup, feel free to add an Acked-by: Christian König 
<christian.koenig at amd.com> to the whole series.

Regards,
Christian.

Am 15.09.22 um 19:01 schrieb Hawking Zhang:
> Replace IP specific implementation with common rlc helper
> for rlc firmware initialization.
>
> This also helps reduce duplicated code when introduce new
> ip block support.
>
> Hawking Zhang (10):
>    drm/amdgpu: add helper to init rlc fw in header v2_0
>    drm/amdgpu: add helper to init rlc fw in header v2_1
>    drm/amdgpu: add helper to init rlc fw in header v2_2
>    drm/amdgpu: add helper to init rlc fw in header v2_3
>    drm/amdgpu: add helper to init rlc fw in header v2_4
>    drm/amdgpu: add helper to init rlc firmware
>    drm/amdgpu/gfx8: switch to amdgpu_gfx_rlc_init_microcode
>    drm/amdgpu/gfx9: switch to amdgpu_gfx_rlc_init_microcode
>    drm/amdgpu/gfx10: switch to amdgpu_gfx_rlc_init_microcode
>    drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode
>
>   drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | 264 ++++++++++++++++++++++++
>   drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h |   4 +-
>   drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c  | 191 +----------------
>   drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c  | 156 +-------------
>   drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c   |  60 +-----
>   drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c   | 106 +---------
>   6 files changed, 289 insertions(+), 492 deletions(-)
>



More information about the amd-gfx mailing list