[PATCH 00/12] update the handle ptr for reset of the functions

Christian König christian.koenig at amd.com
Mon Sep 30 14:45:58 UTC 2024


Feel free to put my Reviewed-by: Christian König 
<christian.koenig at amd.com> on the full series.

There are a bunch of dummy functions we can probably remove, but that 
can be separate patches as well.

Thanks,
Christian.

Am 30.09.24 um 16:30 schrieb Sunil Khatri:
> *** BLURB HERE ***
>
> Sunil Khatri (12):
>    drm/amdgpu: remove the dummy fn acp_early_init
>    drm/amdgpu: update the handle ptr in late_fini
>    drm/amdgpu: update the handle ptr in prepare_suspend
>    drm/amdgpu: update the handle ptr in check_soft_reset
>    drm/amdgpu: update the handle ptr in pre_soft_reset
>    drm/amdgpu: update the handle ptr in soft_reset
>    drm/amdgpu: update the handle ptr in post_soft_reset
>    drm/amdgpu: update the handle ptr in wait_for_idle
>    drm/amdgpu: update the handle ptr in suspend
>    drm/amdgpu: update the handle ptr in resume
>    drm/amdgpu: update the handle ptr in hw_init
>    drm/amdgpu: update the handle ptr in hw_fini
>
>   drivers/gpu/drm/amd/amdgpu/aldebaran.c        |  6 +--
>   drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c       | 33 ++++--------
>   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    | 45 ++++++++--------
>   drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c       | 17 +++----
>   drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c       | 16 +++---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c     |  2 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c  | 20 +++-----
>   drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c      | 23 ++++-----
>   drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c       | 20 ++++----
>   drivers/gpu/drm/amd/amdgpu/cik.c              | 22 ++++----
>   drivers/gpu/drm/amd/amdgpu/cik_ih.c           | 30 +++++------
>   drivers/gpu/drm/amd/amdgpu/cik_sdma.c         | 32 +++++-------
>   drivers/gpu/drm/amd/amdgpu/cz_ih.c            | 30 +++++------
>   drivers/gpu/drm/amd/amdgpu/dce_v10_0.c        | 30 +++++------
>   drivers/gpu/drm/amd/amdgpu/dce_v11_0.c        | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/dce_v6_0.c         | 24 ++++-----
>   drivers/gpu/drm/amd/amdgpu/dce_v8_0.c         | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c        | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c        | 33 ++++++------
>   drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c        | 20 ++++----
>   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c         | 28 +++++-----
>   drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c         | 28 +++++-----
>   drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c         | 40 +++++++--------
>   drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c         | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c       | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c        | 25 ++++-----
>   drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c        | 25 ++++-----
>   drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c        | 25 ++++-----
>   drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c         | 41 ++++++++-------
>   drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c         | 31 +++++------
>   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c         | 51 +++++++++----------
>   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c         | 25 ++++-----
>   drivers/gpu/drm/amd/amdgpu/iceland_ih.c       | 30 +++++------
>   drivers/gpu/drm/amd/amdgpu/ih_v6_0.c          | 26 ++++------
>   drivers/gpu/drm/amd/amdgpu/ih_v6_1.c          | 26 ++++------
>   drivers/gpu/drm/amd/amdgpu/ih_v7_0.c          | 26 ++++------
>   drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c        | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c        | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c        | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c        | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c      | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c      | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c      | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/mes_v11_0.c        | 32 ++++++------
>   drivers/gpu/drm/amd/amdgpu/mes_v12_0.c        | 30 +++++------
>   drivers/gpu/drm/amd/amdgpu/navi10_ih.c        | 26 ++++------
>   drivers/gpu/drm/amd/amdgpu/nv.c               | 24 ++++-----
>   drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c        | 30 +++++------
>   drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c        | 40 +++++++--------
>   drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c        | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c      | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c        | 26 ++++------
>   drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c        | 30 +++++------
>   drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c        | 32 +++++-------
>   drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c        | 32 +++++-------
>   drivers/gpu/drm/amd/amdgpu/si.c               | 22 ++++----
>   drivers/gpu/drm/amd/amdgpu/si_dma.c           | 31 +++++------
>   drivers/gpu/drm/amd/amdgpu/si_ih.c            | 32 +++++-------
>   drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c   |  6 +--
>   drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c     |  4 +-
>   drivers/gpu/drm/amd/amdgpu/soc15.c            | 24 ++++-----
>   drivers/gpu/drm/amd/amdgpu/soc21.c            | 24 ++++-----
>   drivers/gpu/drm/amd/amdgpu/soc24.c            | 24 ++++-----
>   drivers/gpu/drm/amd/amdgpu/tonga_ih.c         | 48 ++++++++---------
>   drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c         | 33 ++++++------
>   drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c         | 33 ++++++------
>   drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c         | 33 ++++++------
>   drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c         | 47 +++++++++--------
>   drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c         | 45 ++++++++--------
>   drivers/gpu/drm/amd/amdgpu/vce_v2_0.c         | 35 ++++++-------
>   drivers/gpu/drm/amd/amdgpu/vce_v3_0.c         | 51 +++++++++----------
>   drivers/gpu/drm/amd/amdgpu/vce_v4_0.c         | 40 +++++++--------
>   drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c         | 25 +++++----
>   drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c         | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c         | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c         | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c         | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c       | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c       | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c       | 26 +++++-----
>   drivers/gpu/drm/amd/amdgpu/vega10_ih.c        | 28 ++++------
>   drivers/gpu/drm/amd/amdgpu/vega20_ih.c        | 26 ++++------
>   drivers/gpu/drm/amd/amdgpu/vi.c               | 24 ++++-----
>   .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 22 ++++----
>   drivers/gpu/drm/amd/include/amd_shared.h      | 22 ++++----
>   drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c    | 20 ++++----
>   drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c    | 20 ++++----
>   .../gpu/drm/amd/pm/powerplay/amd_powerplay.c  | 26 +++++-----
>   drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c     | 24 ++++-----
>   89 files changed, 1115 insertions(+), 1332 deletions(-)
>



More information about the amd-gfx mailing list