Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MDAPI Checks for xe Kernel Driver #396

Merged
merged 3 commits into from
Dec 20, 2024

Conversation

bashbaug
Copy link
Contributor

Description of Changes

Adds updates for the new xe kernel driver used by Lunar Lake and Battlemage GPUs. Specifically:

  • Adds checks for MDAPI permissions for the xe kernel driver in addition to the previous i915 kernel driver.
  • Tries to initialize MDAPI even if the MDAPI permission checks fail, to handle the case where there are multiple GPUs and sufficient permissions are set for the GPU used to collect metrics.
  • Updates documentation to cover both kernel drivers.

Also, changes non-error output from cliloader to go to stdout rather than stderr. This makes it easier to page through output using utilities like more and less.

Testing Done

Tested on a machine with an Alder Lake iGPU using the i915 kernel driver and a Battlemage dGPU using the xe kernel driver. Verified that both permission checks are properly performed.

@bashbaug bashbaug changed the title Update mdapi xe kmd Update MDAPI Checks for xe Kernel Driver Dec 20, 2024
@bashbaug bashbaug merged commit 0c4574a into intel:main Dec 20, 2024
7 checks passed
@bashbaug bashbaug deleted the update-mdapi-xe-kmd branch December 20, 2024 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant