Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.09 KB

README.rst

File metadata and controls

27 lines (17 loc) · 1.09 KB

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