Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 887
    • Issues 887
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 105
    • Merge requests 105
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • xorg
  • xserverxserver
  • Merge requests
  • !879

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Shashank Sharma requested to merge contactshashanksharma/xserver-fork-shashank:v2 into master Mar 06, 2022
  • Overview 14
  • Commits 1
  • Pipelines 4
  • 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:

  1. fine-tunes the PCI-hotplug infrastructure to allow the respective DDX driver to be loaded.
  2. 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).

V2:

  • Fixed typo in commit message (Martin)
  • Added R-B from Adam.
  • Added ACK from Alex and Martin.

V3:

  • Added an output class based approach for finding the DDX driver (Aaron)
  • Rebase

Cc: Alex Deucher alexandar.deucher@amd.com

Suggested-by: Aaron Plattner aplattner@nvidia.com (v3)

Acked-by: Martin Roukala martin.roukala@mupuf.org(v1)

Acked-by: Alex Deucher alexander.deucher@amd.com (v1)

Reviewed-by: Adam Jackson ajax@redhat.com(v1)

Signed-off-by: Shashank Sharma shashank.sharma@amd.com

Edited May 19, 2022 by Shashank Sharma
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: v2