From: Thierry Reding tred...@nvidia.com
When neither of the various bus implementations was able to find a
primary bus and device, fallback to using the platform bus as primary
bus and the first platform device as primary device.
Signed-off-by: Thierry Reding tred...@nvidia.com
Reviewed-by: Rob
From: Thierry Reding tred...@nvidia.com
On platforms that don't support PCI or have no GPU attached to the PCI
bus, there can still be a primary device on a non-PCI bus.
Signed-off-by: Thierry Reding tred...@nvidia.com
Reviewed-by: Rob Clark robdcl...@gmail.com
Tested-by: Rob Clark
Hi All,
When the support for automatically loading drivers for non-PCI devices
landed in 1.16, these 2 patches were missed, and without these 2 patches
the non-PCI device support does not work.
This is a straight cherry pick from master, with one compile error due to
1.16 not having syspath