amezin / amdgpu-pptable Goto Github PK
View Code? Open in Web Editor NEWA 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
License: MIT License
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
License: MIT License
Currently you can convert the table to json file.
Editing the table using jsonpatch will logically complement it and will allow usage from scripts.
Multiple people have requested ubuntu/debian packages
FWIW the following device in my ASUS laptop
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] (rev da)
isn't supported. Trying to dump the pptable gives the following error:
amdgpu_pptable.version_detect.UnknownTableRevision: 6
This seems to be older than ATOM_Tonga_TABLE_REVISION_TONGA = 7
. I have checked and it looks like this revision not defined in the kernel sources at all, so it'll be difficult or impossible to support.
I still haven't bought 5700 XT
If anybody wants Navi support, please provide your /sys/class/drm/card*/device/pp_table
together with reference data (stock clocks, voltages, fan speed curve, etc)
Some values are bitfields or enumerations (effectively, but all constants are defined as preprocessor definitions).
Scanning the code for bitwise ands/ors and comparisons of struct fields and these constants should give possible enum values or flags. Then raw ctypes structs (generated by ctypeslib) could be somehow decorated with this information (substitute the field in fields with new enum/flag field?)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.