File: rx6950xt.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 (16 lines) | stat: -rw-r--r-- 306 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod sysfs;

use amdgpu_sysfs::gpu_handle::{GpuHandle, PowerLevels};

test_with_handle! {
    "rx6950xt",
    invalid_dpm_sclk => {
        GpuHandle::get_core_clock_levels,
        Ok(PowerLevels {
            levels: vec![
                0, 0
            ],
            active: None,
        })
    },
}