amdgpu-pptable

AMDGPU PowerPlay table parser


Keywords
amdgpu, radeon, powerplay, linux
License
MIT
Install
pip install amdgpu-pptable==0.9.2

Documentation

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