kmscube: support MSM/freedreno and KGSL/Adreno graphics stacks with debusine #512
Merged
Bhargav-qcom (bhargav0610) merged 3 commits intoJul 15, 2026
Merged
Conversation
Srikanth Muppandam (smuppand)
marked this pull request as draft
July 15, 2026 07:25
Add Debian package mappings for the Qualcomm graphics overlay and upstream Mesa/freedreno base stack. Add package-set verification and removal helpers to: - avoid package-manager work when a set is already complete - remove installed overlay packages when restoring the base stack - validate package contents required by graphics backends - report whether a package transition requires reboot Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add reusable helpers to: - detect MSM/freedreno and KGSL GPU boot ownership - identify unsafe KGSL reload failures - validate the requested GPU boot mode - remove stale KGSL boot configuration - select the Mesa or Adreno GLVND EGL vendor - stop and restore display-manager DRM ownership safely Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Extend the KMSCube test to support both graphics configurations: - use upstream MSM/freedreno by default - enable Qualcomm KGSL and Adreno with --overlay - install or remove the required package sets - request reboot when GPU ownership changes - verify the Qualcomm GBM backend - select the correct EGL vendor - preserve native graphics handling on Yocto images - release and restore DRM ownership around KMSCube - retain modetest output for display diagnostics Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Srikanth Muppandam (smuppand)
force-pushed
the
distro_support
branch
from
July 15, 2026 10:11
548aa8f to
3253489
Compare
Srikanth Muppandam (smuppand)
marked this pull request as ready for review
July 15, 2026 10:11
Bhargav-qcom (bhargav0610)
approved these changes
Jul 15, 2026
Bhargav-qcom (bhargav0610)
merged commit Jul 15, 2026
f6f2e5a
into
qualcomm-linux:main
12 checks passed
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.
Extend the KMSCube testcase to validate both supported Qualcomm graphics configurations on Debian-based systems:
The testcase now manages the required package stack, validates the active GPU boot ownership, selects the correct EGL vendor, and safely handles DRM ownership before running KMSCube.