drm/nouveau/pci: implement generic code for pcie speed change
authorKarol Herbst <nouveau@karolherbst.de>
Tue, 15 Sep 2015 16:48:37 +0000 (18:48 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 11 Jan 2016 01:30:20 +0000 (11:30 +1000)
commitbcc19d9bf5cd8d49428c487adced1aa101271b18
tree4351d42d1940ce810cf5b7120265fc102ada800c
parent28c80605757883016c11a13465bd0573848f2139
drm/nouveau/pci: implement generic code for pcie speed change

v2: rename and group functions
v4: change copyright information
    move printing of pcie speeds into oneinit,
    rename all pcie functions to nvkm_pcie_*
    don't try to raise the pcie version when no higher one is supported
v5: revert Copyright changes and rename nvkm_pcie_raise_version to nvkm_pcie_set_version
v6: remove some useless pci_is_pcie checks and rework messages

Signed-off-by: Karol Herbst <nouveau@karolherbst.de>
drivers/gpu/drm/nouveau/include/nvkm/subdev/pci.h
drivers/gpu/drm/nouveau/nvkm/subdev/pci/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/pci/priv.h