[PATCH 00/16] clean up amdgpu_device.c

Christian König ckoenig.leichtzumerken at gmail.com
Sat Dec 16 10:11:26 UTC 2017


Acked-by: Christian König <christian.koenig at amd.com> for the whole series.

Regards,
Christian.

Am 15.12.2017 um 22:56 schrieb Alex Deucher:
> This file has gotten huge and has become a dumping ground for all
> sorts of things.  The function naming is also really inconsistent.
> This patch set:
> 1. cleans up the function naming to make it consistent
> 2. moves all the debugfs stuff to it's own file
> 3. moves all the atom stuff to amdgpu_atombios.c
> 4. moves a bunch of helper functions local to where they are used
>
> Alex Deucher (16):
>    drm/amdgpu: move atom functions from amdgpu_device.c
>    drm/amdgpu: use consistent naming for static funcs in amdgpu_device.c
>    drm/amdgpu: rename amdgpu_suspend to amdgpu_device_ip_suspend
>    drm/amdgpu: move debugfs functions to their own file
>    drm/amdgpu: rename amdgpu_wb_* functions
>    drm/amdgpu: rename amdgpu_program_register_sequence
>    drm/amdgpu: rename amdgpu_pci_config_reset
>    drm/amdgpu: move amdgpu_doorbell_get_kfd_info to amdgpu_amdkfd.c
>    drm/amdgpu: rename amdgpu_*_location functions
>    drm/amdgpu: move fw_reserve functions to amdgpu_ttm.c
>    drm/amdgpu: rename ip block helper functions
>    drm/amdgpu: rename amdgpu_need_post
>    drm/amdgpu: move dummy page functions to amdgpu_gart.c
>    drm/amdgpu: rename amdgpu_gpu_recover
>    drm/amdgpu: move amdgpu_need_backup to amdgpu_object.c
>    drm/amdgpu: rename amdgpu_get_pcie_info
>
>   drivers/gpu/drm/amd/amdgpu/Makefile          |    2 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu.h          |   90 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c      |    2 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c   |   33 +
>   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c |  236 ++++-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h |    4 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c     |    2 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c  |  792 ++++++++++++++
>   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h  |   42 +
>   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c   | 1458 +++-----------------------
>   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c      |    2 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c    |    2 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c     |   49 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c      |    2 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c      |    4 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c       |   10 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c      |    2 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_job.c      |    2 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_object.c   |    8 +
>   drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c       |   18 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c     |   16 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c      |   99 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c      |   18 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c      |   16 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c       |    2 +-
>   drivers/gpu/drm/amd/amdgpu/ci_dpm.c          |    8 +-
>   drivers/gpu/drm/amd/amdgpu/cik.c             |  212 ++--
>   drivers/gpu/drm/amd/amdgpu/cik_sdma.c        |   10 +-
>   drivers/gpu/drm/amd/amdgpu/dce_v10_0.c       |   24 +-
>   drivers/gpu/drm/amd/amdgpu/dce_v11_0.c       |   30 +-
>   drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c        |  132 +--
>   drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c        |    4 +-
>   drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c        |   16 +-
>   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c        |   58 +-
>   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c        |   10 +-
>   drivers/gpu/drm/amd/amdgpu/kv_dpm.c          |    8 +-
>   drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c        |    2 +-
>   drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c        |   50 +-
>   drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c       |   22 +-
>   drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c       |   70 +-
>   drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c       |   10 +-
>   drivers/gpu/drm/amd/amdgpu/si.c              |  156 +--
>   drivers/gpu/drm/amd/amdgpu/si_dma.c          |   10 +-
>   drivers/gpu/drm/amd/amdgpu/soc15.c           |   48 +-
>   drivers/gpu/drm/amd/amdgpu/vi.c              |  166 +--
>   45 files changed, 2008 insertions(+), 1949 deletions(-)
>   create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
>   create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h
>



More information about the amd-gfx mailing list