Skip to content

drm: use core pcie functionality for pcie gen/width

Alex Deucher amd-gfx dri-devel linux-pci 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 5 patches 7 repliesIn review

4 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pci: export pcie_get_speed_cap and pcie_get_width_capdrivers/pci/pci.c include/linux/pci.h+5 -03 replies
2/5drm/amdgpu: update amd_pcie.h to include gen4 speedsdrivers/gpu/drm/amd/include/amd_pcie.h+2 -01 reply
4/5drm/radeon: use pcie functions for link widthdrivers/gpu/drm/radeon/ci_dpm.c drivers/gpu/drm/radeon/cik.c drivers/gpu/drm/radeon/r600_dpm.c +3 more+60 -320 replies
5/5drm: drop drm_pcie_get_speed_cap_mask and drm_pcie_get_max_link_widthdrivers/gpu/drm/drm_pci.c include/drm/drm_pci.h+0 -651 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchBjorn HelgaasDave Airlie
1/5A-b
2/5
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] drm: use core pcie functionality for pcie gen/width

This series exports some pcie helper functions for use by drivers and fixes up the amdgpu and radeon drivers to use this core functionality rather than the duplicated functionality in the drm. Finally we remove the drm helpers since the duplicate the pcie functionality of the core. This also adds proper pcie gen4 detection for amdgpu.

Alex Deucher (5):
pci: export pcie_get_speed_cap and pcie_get_width_cap drm/amdgpu: update amd_pcie.h to include gen4 speeds drm/amdgpu: use pcie functions for link width and speed drm/radeon: use pcie functions for link width
drm: drop drm_pcie_get_speed_cap_mask and drm_pcie_get_max_link_width

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 83 +++++++++++++++++++++---------
 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c    |  7 ++-
 drivers/gpu/drm/amd/amdgpu/ci_dpm.c        |  3 +-
 drivers/gpu/drm/amd/amdgpu/si_dpm.c        |  3 +-
 drivers/gpu/drm/amd/include/amd_pcie.h     |  2 +
 drivers/gpu/drm/drm_pci.c                  | 58 ---------------------
 drivers/gpu/drm/radeon/ci_dpm.c            | 20 +++++--
 drivers/gpu/drm/radeon/cik.c               | 22 ++++----
 drivers/gpu/drm/radeon/r600_dpm.c          |  4 +-
 drivers/gpu/drm/radeon/radeon.h            |  4 ++
 drivers/gpu/drm/radeon/si.c                | 22 ++++----
 drivers/gpu/drm/radeon/si_dpm.c            | 20 +++++--
 drivers/pci/pci.c                          |  2 +
 include/drm/drm_pci.h                      |  7 ---
 include/linux/pci.h                        |  3 ++
 15 files changed, 132 insertions(+), 128 deletions(-)
Signature · 6 lines
2.13.6

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx