Skip to content
  • Shashank Sharma's avatar
    xf86: allow DDX driver for GPU/PCI hot-plug · f3d25584
    Shashank Sharma authored and Shashank Sharma's avatar Shashank Sharma committed
    
    
    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.
    
    This patch:
    - fine-tunes the PCI-hotplug infrastructure to allow the resoective 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 <alexandar.deucher@amd.com>
    Signed-off-by: default avatarShashank Sharma <shashank.sharma@amd.com>
    f3d25584