Skip to content

amezin/amdgpu-pptable

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages