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

Add Intel dGPU prime offload support #537

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

hanhsuan
Copy link
Contributor

@hanhsuan hanhsuan commented Jun 7, 2023

Description

Since DRI_PRIME could use pci bus to set prime offload to specific GPU, this PR use this method to set prime offload to specific Intel GPU that doesn't use index anymore.

While testing, could use sudo cat /sys/kernel/debug/dri/<card number>/clients to check glxgears is running on which GPU.

Resolved issues

The coming DUTs inlcude one Intel iGPU + Intel dGPU combination. On checkbox v2.7, the graphic test scope is same with Intel iGPU + AMD dGPU and Intel iGPU + Nvidia dGPU. However, Intel dGPU isn't really tested on checkbox v2.7, and have to add this support for Intel dGPU.

Tracking on this jira card.

Submissions

20.04

22.04

Copy link
Collaborator

@pieqq pieqq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Also, thanks for cleaning up the Shell script :)

@pieqq pieqq marked this pull request as ready for review June 14, 2023 05:59
@pieqq pieqq merged commit ec4fd1f into canonical:main Jun 14, 2023
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.

2 participants