linux-stable/drivers/gpu/drm/nouveau/dispnv04
Sinan Kaya 2fa6d6cdaf drm/nouveau: deprecate pci_get_bus_and_slot()
pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as
where a PCI device is present. This restricts the device drivers to be
reused for other domain numbers.

Getting ready to remove pci_get_bus_and_slot() function in favor of
pci_get_domain_bus_and_slot().

Replace pci_get_bus_and_slot() with pci_get_domain_bus_and_slot()
and extract the domain number from
1. struct pci_dev
2. struct pci_dev through drm_device->pdev
3. struct pci_dev through fb->subdev->drm_device->pdev

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
2018-01-11 17:28:14 -06:00
..
arb.c drm/nouveau: deprecate pci_get_bus_and_slot() 2018-01-11 17:28:14 -06:00
crtc.c drm/nouveau/kms/nv04-nv4x: fix exposed format list 2017-08-22 18:04:35 +10:00
cursor.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dac.c drm/nouveau: allocate device object for every client 2017-02-17 15:15:04 +10:00
dfp.c drm/nouveau: allocate device object for every client 2017-02-17 15:15:04 +10:00
disp.c drm/nouveau/core/object: allow arguments to be passed to map function 2017-11-02 13:32:16 +10:00
disp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hw.c drm/nouveau: deprecate pci_get_bus_and_slot() 2018-01-11 17:28:14 -06:00
hw.h drm/nouveau: allocate device object for every client 2017-02-17 15:15:04 +10:00
Kbuild drm/nouveau: remove symlinks, move core/ to nvkm/ (no code changes) 2015-01-22 12:15:10 +10:00
nvreg.h
overlay.c drm/nouveau/kms/nv10-nv40: add NV21 support to overlay 2017-08-22 18:04:35 +10:00
tvmodesnv17.c drm/nouveau: rename nouveau_drm.h to nouveau_drv.h 2016-05-20 14:43:04 +10:00
tvnv04.c drm/nouveau: allocate device object for every client 2017-02-17 15:15:04 +10:00
tvnv17.c drm/nouveau: allocate device object for every client 2017-02-17 15:15:04 +10:00
tvnv17.h drm/nouveau: allocate device object for every client 2017-02-17 15:15:04 +10:00