https://github.com/amezin/amdgpu-pptable
A Python library that maps amdgpu powerplay tables to ctypes structs. Qt GUI moved to its own repo: https://github.com/amezin/amdgpu-pptable-editor-qt
https://github.com/amezin/amdgpu-pptable
amdgpu linux powerplay radeon
Last synced: 2 months ago
JSON representation
A Python library that maps amdgpu powerplay tables to ctypes structs. Qt GUI moved to its own repo: https://github.com/amezin/amdgpu-pptable-editor-qt
- Host: GitHub
- URL: https://github.com/amezin/amdgpu-pptable
- Owner: amezin
- License: mit
- Created: 2018-08-19T14:43:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T00:27:28.000Z (over 4 years ago)
- Last Synced: 2025-03-24T18:05:44.138Z (3 months ago)
- Topics: amdgpu, linux, powerplay, radeon
- Language: Python
- Homepage:
- Size: 511 KB
- Stars: 27
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
|Tests badge| |flake8 lint badge| |pypi badge|
AMDGPU PowerPlay table parser
=============================A Python library that converts AMDGPU PowerPlay tables to ctypes structs.
Uses code generated from MIT-licensed AMDGPU Linux driver headers.
For a Qt GUI editor see `amdgpu-pptable-editor-qt `_
Generating ctypes structs
-------------------------Generated code is tracked in git, it is located in ``src/amdgpu_pptable/generated``.
To re-generate it (with, maybe, different kernel sources)::
$ tox -e generate-ctypes -- -k path/to/kernel/sources
.. |Tests badge| image:: https://github.com/amezin/amdgpu-pptable/workflows/Tests/badge.svg
:target: https://github.com/amezin/amdgpu-pptable/actions?query=workflow%3ATests
.. |flake8 lint badge| image:: https://github.com/amezin/amdgpu-pptable/workflows/flake8%20lint/badge.svg
:target: https://github.com/amezin/amdgpu-pptable/actions?query=workflow%3A%22flake8+lint%22
.. |pypi badge| image:: https://img.shields.io/pypi/v/amdgpu-pptable
:target: https://pypi.org/project/amdgpu-pptable/