Files
linux/drivers/gpu/drm/radeon
Alex Williamson 0bd252de78 radeon: Test for PCI root bus before assuming bus->self
If we assign a Radeon device to a virtual machine, we can no longer
assume a fixed hardware topology, like the GPU having a parent device.
This patch simply adds a few pci_is_root_bus() tests to avoid passing
a NULL pointer to PCI access functions, allowing the radeon driver to
work in a QEMU 440FX machine with an assigned HD8570 on the emulated
PCI root bus.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2014-08-27 17:54:50 -04:00
..
2014-06-02 10:25:02 -04:00
2014-07-02 14:10:19 -04:00
2013-01-31 16:24:47 -05:00
2013-09-11 11:44:38 -04:00
2013-09-11 11:44:38 -04:00
2014-01-10 15:28:10 +01:00
2013-09-11 11:44:37 -04:00
2014-03-06 16:46:56 -05:00
2013-12-18 11:35:01 +10:00
2014-07-18 14:25:23 +10:00
2014-06-10 09:35:42 +10:00
2013-12-18 11:35:21 +10:00
2013-12-18 11:33:46 +10:00
2013-12-18 11:35:01 +10:00
2013-12-18 11:35:01 +10:00
2014-03-06 16:46:56 -05:00