Closed requested to merge contactshashanksharma/xserver-fork-shashank:push-pci-hotplug into master
The current X server infrastructure sets modesetting driver as default driver to handle PCI-hotplug of a GPU device. This prevents the respective DDX driver (like AMDGPU DDX driver) to take control of the card.
- fine-tunes the PCI-hotplug infrastructure to allow the respective DDX driver to be loaded.
- scans and updates the PCI device list before adding the new GPU device in platform, so that the association of the platform device and PCI device is in place (dev->pdev).
Cc: Alex Deucher email@example.com
Reviewed-by: Adam Jackson firstname.lastname@example.org Acked-by: Alex Deucher email@example.com Acked-by: Martin Roukala firstname.lastname@example.org Signed-off-by: Shashank Sharma email@example.com