Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 944
    • Issues 944
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 123
    • Merge requests 123
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • xserverxserver
  • Merge requests
  • !855

xf86: allow DDX driver for GPU/PCI hot-plug

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Shashank Sharma requested to merge contactshashanksharma/xserver-fork-shashank:push-pci-hotplug into master Jan 21, 2022
  • Overview 17
  • Commits 1
  • Pipelines 3
  • Changes 3

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 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 alexandar.deucher@amd.com

Reviewed-by: Adam Jackson ajax@redhat.com Acked-by: Alex Deucher alexander.deucher@amd.com Acked-by: Martin Roukala martin.roukala@mupuf.org Signed-off-by: Shashank Sharma shashank.sharma@amd.com

Edited Mar 02, 2022 by Shashank Sharma
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: push-pci-hotplug