linux_dsm_epyc7002/drivers/gpu/drm/amd
Frederick Lawler 88027c89ea drm/amdgpu: Prefer pcie_capability_read_word()
Commit 8c0d3a02c1 ("PCI: Add accessors for PCI Express Capability")
added accessors for the PCI Express Capability so that drivers didn't
need to be aware of differences between v1 and v2 of the PCI
Express Capability.

Replace pci_read_config_word() and pci_write_config_word() calls with
pcie_capability_read_word() and pcie_capability_write_word().

[bhelgaas: fix a couple remaining instances in cik.c]
Link: https://lore.kernel.org/r/20191118003513.10852-1-fred@fredlawl.com
Signed-off-by: Frederick Lawler <fred@fredlawl.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-21 11:15:49 -06:00
..
acp
amdgpu drm/amdgpu: Prefer pcie_capability_read_word() 2019-11-21 11:15:49 -06:00
amdkfd drm fixes for 5.4-rc1 2019-09-27 11:13:35 -07:00
display drm fixes for 5.4-rc1 2019-09-27 11:13:35 -07:00
include drm/amd/display: update renoir_ip_offset.h 2019-09-17 14:22:29 -05:00
powerplay drm fixes for 5.4-rc1 2019-09-27 11:13:35 -07:00