amdgpu-sysfs 0.20.0

Library for interacting with the Linux Kernel SysFS interface for GPUs (mainly targeted at the AMDGPU driver).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use amdgpu_sysfs::gpu_handle::{GpuHandle, PowerLevels};

mod sysfs;

test_with_handle! {
    "rx6900xt",
    pp_dpm_sclk => {
        GpuHandle::get_core_clock_levels,
        Ok(PowerLevels {
            levels: vec![
                500,
                2660
            ],
            active: Some(0)
        })
    },
}