Skip to content

Upstream the driver #2

Open
Open

Description

@DemiMarie

Would it be possible to upstream the driver, either as part of amdgpu or as a separate driver?

Activity

  1. yunxiali commented on Apr 25, 2025

    @yunxiali
    Collaborator

    Upstreaming would be difficult since our driver is built as a shim layer + kernel agnostic core, Linux upstream usually prefer drivers to be tightly integrated with the rest of the kernel instead.

  2. DemiMarie commented on Apr 25, 2025

    @DemiMarie
    Author

    A different AMD driver had a similar problem and was able to fix it enough for upstreaming.

  3. ljymonk commented on May 29, 2025

    @ljymonk

    We thought about this internally in the past and there are couple reason we didn't pick this mode:

    1. compatible issues might introduced cross host OS (kernel) and GIM if go upstream,
    2. GIM is a fork of LIBGV which is the core share component for other AMD hypervisor driver, e.g.: hyper V and ESXi, upstream GIM requires the decouple of GIM and LIBGV, which is exactly the opposite direction of LIBGV.
  4. DemiMarie commented on May 30, 2025

    @DemiMarie
    Author

    Without upstreaming the driver its use in Linux will be quite limited, especially because Intel and NVIDIA are already planning on upstreaming their drivers.

  5. DemiMarie commented on Jan 19, 2026

    @DemiMarie
    Author

    We thought about this internally in the past and there are couple reason we didn't pick this mode:

    1. compatible issues might introduced cross host OS (kernel) and GIM if go upstream,

    Is this because GIM is meant for enterprise distros with old-ish kernels?

    1. GIM is a fork of LIBGV which is the core share component for other AMD hypervisor driver, e.g.: hyper V and ESXi, upstream GIM requires the decouple of GIM and LIBGV, which is exactly the opposite direction of LIBGV.

    My understanding is that AMDGPU already got permission from upstream to keep the library part separate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions