Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,068
    • Issues 3,068
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1,007
    • Merge requests 1,007
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • MesaMesa
  • mesamesa
  • Merge requests
  • !20418

Draft: RFC: Intel: Add support for Xe KMD

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open José Roberto de Souza requested to merge zehortigoza/mesa:xe-port into main Dec 22, 2022
  • Overview 35
  • Commits 38
  • Pipelines 36
  • Changes 33

Xe KMD is a fresh KMD implementation for Intel GPUs, you can read more about it in here: https://patchwork.freedesktop.org/series/112188/

Xe KMD will only support Tigerlake and newer platforms, so here I have added Xe KMD support for Iris and ANV, to properly work it is necessary to enable Xe KMD in build time with -Dintel-xe-kmd=enabled then in run time it will check if you have i915 or Xe KMD loaded and take the appropriate code paths.

It is functional enough to run Gnome, browser, OpenGL games, Vulkan games... but eventual crashes and bugs are expected at this time. No work has been done so far in optimizing for the new driver.

The plan is to merge this in chunks of smaller merge requests, but this merge request will be kept updated to easily allow testing.

Xe KMD UAPI will probably change a bit during its review process and the plan is to not block these patches but merge and fix on top as UAPI evolves.

TODO list:

  • proper fix FIXME patch
  • port Intel tools to Xe KMD
  • Performance counters support is missing in the KMD UAPI, so wait for UAPI and then port Perfetto
  • remove i915_drm.h code and includes from common code in the remaining places
  • analyze and improve performance

MRs:

  • !20423 (merged)
  • !20428 (merged)
  • !20437 (merged)
  • !20773 (merged)
  • !20948 (merged)
  • !21255 (merged)
  • !21256 (merged)
  • !21389 (merged)
  • !21368 (merged)
  • !21369 (merged)
  • !21688 (merged)
  • !21494 (merged)
  • !21699 (merged)
  • !21698 (merged)
  • !21700 (merged)
  • !21773 (merged)
  • !21885 (merged)
  • !21887 (merged)
  • !21937 (merged)
  • !21965 (merged)
  • !21966 (merged)
  • !21972 (merged)
  • !22058 (merged)
  • !22059
  • !22060
Edited Mar 23, 2023 by José Roberto de Souza
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: xe-port