File: rx6900xt.rs

package info (click to toggle)
rust-amdgpu-sysfs 0.19.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,080 kB
  • sloc: makefile: 2
file content (17 lines) | stat: -rw-r--r-- 324 bytes parent folder | download
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)
        })
    },
}