aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
diff options
context:
space:
mode:
authorFrederick Lawler <fred@fredlawl.com>2019-11-17 18:35:13 -0600
committerBjorn Helgaas <bhelgaas@google.com>2019-11-21 11:15:49 -0600
commit88027c89ea146e32485251f1c2dddcde43c8d04e (patch)
tree7792cabc68bc98a50e0db3b752c1adf3e7b420de /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
parent35e768e296729ac96a8c33b7810b6cb1673ae961 (diff)
drm/amdgpu: Prefer pcie_capability_read_word()
Commit 8c0d3a02c130 ("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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
0 files changed, 0 insertions, 0 deletions