Enable DRM Acceleration and Intel VPU#11692
Merged
Conversation
3a7829c to
8186c3d
Compare
8186c3d to
9bf8ba0
Compare
christopherco
approved these changes
Jan 11, 2025
SumitJenaHCL
pushed a commit
to SumitJenaHCL/azurelinux
that referenced
this pull request
Jan 28, 2025
New feature. This enables the Intel VPU on x86_64. VPU stands for Versatile Processing Unit. This driver is used in the Intel Core Ultra processors to support their AI processing. This driver leans on the DRM Accel framework which requires the Direct Rendering Manager (DRM) subsystem. Since AI accelerators share many similarities with GPUs, they leverage the existing DRM infrastructure. Therefore as a result of [6e21f45] "Update CONFIG_DRM as loadable module and create sub-package for in-tree amdgpu modules", the accelerator drivers need to be packaged with the subpackage kernel-drivers-gpu. If in the generic kernel package, it will result in errors when insmod (without drm)
SumitJenaHCL
pushed a commit
to SumitJenaHCL/azurelinux
that referenced
this pull request
Feb 24, 2025
New feature. This enables the Intel VPU on x86_64. VPU stands for Versatile Processing Unit. This driver is used in the Intel Core Ultra processors to support their AI processing. This driver leans on the DRM Accel framework which requires the Direct Rendering Manager (DRM) subsystem. Since AI accelerators share many similarities with GPUs, they leverage the existing DRM infrastructure. Therefore as a result of [6e21f45] "Update CONFIG_DRM as loadable module and create sub-package for in-tree amdgpu modules", the accelerator drivers need to be packaged with the subpackage kernel-drivers-gpu. If in the generic kernel package, it will result in errors when insmod (without drm)
KavyaSree2610
pushed a commit
to KavyaSree2610/azurelinux
that referenced
this pull request
Mar 24, 2025
New feature. This enables the Intel VPU on x86_64. VPU stands for Versatile Processing Unit. This driver is used in the Intel Core Ultra processors to support their AI processing. This driver leans on the DRM Accel framework which requires the Direct Rendering Manager (DRM) subsystem. Since AI accelerators share many similarities with GPUs, they leverage the existing DRM infrastructure. Therefore as a result of [6e21f45] "Update CONFIG_DRM as loadable module and create sub-package for in-tree amdgpu modules", the accelerator drivers need to be packaged with the subpackage kernel-drivers-gpu. If in the generic kernel package, it will result in errors when insmod (without drm)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
New feature.
This enables the Intel VPU on x86_64. VPU stands for Versatile Processing Unit. This driver is used in the Intel Core Ultra processors to support their AI processing. This driver leans on the DRM Accel framework which requires the Direct Rendering Manager (DRM) subsystem.
Since AI accelerators share many similarities with GPUs, they leverage the existing DRM infrastructure. Therefore as a result of https://github.com/microsoft/azurelinux/pull/10612/files, the accelerator drivers need to be packaged with the subpackage
kernel-drivers-gpu. If in the generickernelpackage, it will result in errors when insmod (without drm):The specific changes being added are
DRM_ACCEL=y
Kconfig
DRM_ACCEL_IVPU=m
Kconfig
Change Log
Does this affect the toolchain?
YES
Associated issues
Test Methodology
Built on latest kernel
https://dev.azure.com/mariner-org/mariner/_build/results?buildId=708919&view=results
Boots and loads on x86


PRIOR TO REBASE
Booted in Azure
Arm64 (does not have ivpu)