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 AMD PMF driver loading validation (New) #1620

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

hanhsuan
Copy link
Contributor

Description

AMD PMF (Platform Management Framework) is a new feature that required by client to validate.
Currently, the test plan is only included one loading test, and will be enhanced in the future.

Resolved issues

Internal Jira ticket

Documentation

Tests

manifest false to skip: https://certification.canonical.com/hardware/202001-27667/submission/403122/
AMD PMF isn't loaded: https://certification.canonical.com/hardware/202001-27667/submission/403120/
AMD PMF is loaded: https://certification.canonical.com/hardware/202401-33431/submission/403125/

@pieqq pieqq self-assigned this Dec 6, 2024
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.

Hello! Sorry for the late review...

Please check my inline comments and see if they make sense.

import subprocess


class AMDPMF:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is a class necessary here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought that there will be more test cases for AMD PMF driver. Therefore, I would like to use class to make it could add more function.

providers/base/bin/amd_pmf.py Outdated Show resolved Hide resolved
providers/base/tests/test_amd_pmf.py Outdated Show resolved Hide resolved
providers/base/tests/test_amd_pmf.py Outdated Show resolved Hide resolved
providers/base/tests/test_amd_pmf.py Show resolved Hide resolved
providers/base/units/power-management/jobs.pxu Outdated Show resolved Hide resolved
providers/base/units/power-management/manifest.pxu Outdated Show resolved Hide resolved
hanhsuan and others added 3 commits December 20, 2024 15:06
Co-authored-by: Pierre Equoy <pierre.equoy@canonical.com>
Co-authored-by: Pierre Equoy <pierre.equoy@canonical.com>
2. add and modify docstring
3. change the from amd_pmf to import amd_pmf
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