clean up amdgpu_device.c
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | drm/amdgpu: move atom functions from amdgpu_device.cdrivers/ drivers/ drivers/ | +236 | 0 replies | |
| 2/16 | drm/amdgpu: use consistent naming for static funcs in amdgpu_device.cdrivers/ | +90 | 0 replies | |
| 3/16 | drm/amdgpu: rename amdgpu_suspend to amdgpu_device_ip_suspenddrivers/ drivers/ drivers/ | +6 | 0 replies | |
| 4/16 | drm/amdgpu: move debugfs functions to their own filedrivers/ drivers/ drivers/ +3 more | +838 | 0 replies | |
| 5/16 | drm/amdgpu: rename amdgpu_wb_* functionsdrivers/ drivers/ drivers/ +7 more | +46 | 0 replies | |
| 6/16 | drm/amdgpu: rename amdgpu_program_register_sequencedrivers/ drivers/ drivers/ +11 more | +311 | 0 replies | |
| 7/16 | drm/amdgpu: rename amdgpu_pci_config_resetdrivers/ drivers/ drivers/ +1 more | +4 | 0 replies | |
| 8/16 | drm/amdgpu: move amdgpu_doorbell_get_kfd_info to amdgpu_amdkfd.cdrivers/ drivers/ drivers/ | +34 | 0 replies | |
| 9/16 | drm/amdgpu: rename amdgpu_*_location functionsdrivers/ drivers/ drivers/ +3 more | +18 | 0 replies | |
| 10/16 | drm/amdgpu: move fw_reserve functions to amdgpu_ttm.cdrivers/ drivers/ drivers/ | +97 | 0 replies | |
| 11/16 | drm/amdgpu: rename ip block helper functionsdrivers/ drivers/ drivers/ +11 more | +252 | 0 replies | |
| 12/16 | drm/amdgpu: rename amdgpu_need_postdrivers/ drivers/ drivers/ | +6 | 0 replies | |
| 13/16 | drm/amdgpu: move dummy page functions to amdgpu_gart.cdrivers/ drivers/ drivers/ | +47 | 0 replies | |
| 14/16 | drm/amdgpu: rename amdgpu_gpu_recoverdrivers/ drivers/ drivers/ +4 more | +10 | 0 replies | |
| 15/16 | drm/amdgpu: move amdgpu_need_backup to amdgpu_object.cdrivers/ drivers/ drivers/ | +8 | 0 replies | |
| 16/16 | drm/amdgpu: rename amdgpu_get_pcie_infodrivers/ drivers/ drivers/ +2 more | +5 | 0 replies |
Reviews trailers per patch
None of the 16 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Christian König |
|---|---|
| Series | A-b |
| 1/16 | |
| 2/16 | |
| 3/16 | |
| 4/16 | |
| 5/16 | |
| 6/16 | |
| 7/16 | |
| 8/16 | |
| 9/16 | |
| 10/16 | |
| 11/16 | |
| 12/16 | |
| 13/16 | |
| 14/16 | |
| 15/16 | |
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/16] clean up amdgpu_device.c
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
Signature · 6 lines
2.13.6 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx