Commit Graph

43 Commits (master)

Author SHA1 Message Date
flightlessmango c8c987dadb amdgpu: include gpu_metrics v2_4
But still use v2_3 for now. We need more testing before enabling v2_4
for older kernel versions
5 months ago
flightlessmango 971791d5da amdgpu: use v2_3 for v2_4
In kernel 6.6 v2_4 was added. This causes us to not find a version to use
as we limited by content rev 3.
For now we'll just limit by 4 instead and use the old v2_3 struct
5 months ago
Joshua Ashton 684750158e amdgpu, overlay: Use gpu_metrics for CoreClock on Steam Deck
sysfs path gives 200 or 1040 Mhz always. Don't use that!
6 months ago
FlightlessMango 55c8be5b0b amdgpu: collect throttling data for graph 8 months ago
FlightlessMango 6abc794b42 amdgpu: use hwmon for core clock
gpu_metrics currently reports the wrong value, so until that's fixed
we'll rely in hwmon
11 months ago
FlightlessMango 4161139597 amdgpu: run_thread default to true 1 year ago
FlightlessMango 7853af98d0 mangoapp: amdgpu: pause the polling thread when it's not needed 1 year ago
FlightlessMango 5aec3d817b amdgpu: fan speed 1 year ago
Kira Bruneau 2918b6ef1b amdgpu: fix reading apu power & temperature 1 year ago
Oliver Chang a155c10df3 Add missing division for fallback AMD CPU power calculation. 1 year ago
sfrcorne 020e8485e2 small fix for average cpu_power 2 1 year ago
sfrcorne 2187b9ef19 small fix for average cpu_power 1 year ago
sfrcorne a98a402619 Fix for AMD Ryzen 7000 CPU when using the iGPU. 1 year ago
sfrcorne cd74b27da2 Cleanup cpu.cpp and and support for gpu_metrics_v2_3 1 year ago
FlightlessMango d59375b0c9 amdgpu: add support for gpu_metrics_v2_3 1 year ago
FlightlessMango 06b46fd5d7 Fix building with mingw 1 year ago
Emil Velikov 047bc2e7f7 tests: make it work aka hide HUDElements
Currently the test is pulling an external reference to HUDElements,
which is unresolved so the test fails to link.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
FlightlessMango 3190778086 Don't update metrics if we're not logging and not displaying 1 year ago
FlightlessMango 475026a183 amdgpu: move defines to header 1 year ago
FlightlessMango cb7d2a2447 amdgpu tests 2 years ago
FlightlessMango 3949c6c87f amdgpu: change cpu/gpu temps from max to avg 2 years ago
Alessandro Toia 08431a0221 Fix reporting amdgpu clock speed 2 years ago
FlightlessMango f81369bd68 amdgpu: average gfx and cpu power as float 2 years ago
FlightlessMango 1447778fd4 amdgpu: improve polling perf by reading with c
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
FlightlessMango 5167e72649 gpu_metrics: send v1_0 to sysfs instead 2 years ago
FlightlessMango b30302c889 amdgpu: prefer hwmon over gpu_metrics for gpu temp
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
FlightlessMango bcf16a0def amdgpu: fixed incorrect gpu load for centipercent
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
FlightlessMango ec5952d834 amdgpu: changed clocks to average 2 years ago
FlightlessMango 8b7a1995a9 amdgpu: fix cpu temp and watt 2 years ago
FlightlessMango f9cfdeb080 Add gpu throttling status
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
FlightlessMango ae85730448 Improve amdgpu polling
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
FlightlessMango 5349226fa5 amdgpu: average load over .5s 2 years ago
jackun 3ee1048acf Check if amdgpu gpu_metrics can be read and do some sanity-checks 2 years ago
jackun 11142b5b2c
Merge pull request #703 from evelikov/misc-mixes
Remove libdrm_amdgpu and other unnecessary code
2 years ago
FlightlessMango 1940a83566 mangoapp: don't assume APU for temps 2 years ago
Emil Velikov 68ce8f81cc Remove libdrm_amdgpu metrics
There are two alternatives - hwmon entries and gpu_metrics sysfs file.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
Emil Velikov 30cfe839eb Address signed comparisons warnings
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2 years ago
jackun a029dfaaf2
Don't hide gpu_metrics behind HAVE_LIBDRM_AMDGPU 2 years ago
FlightlessMango d71dd74685 Fix amdgpu watt and make it more granular 2 years ago
FlightlessMango d72099d1e7 Fixed issue with amdgpu metrics for APU 2 years ago
FlightlessMango 986f3cc1b3 gpu_metrics: apu: set cpu temp as highest core temp 2 years ago
FlightlessMango 6983c2ec39 Use gpu_metrics instead of libdrm when available 2 years ago
FlightlessMango 37e18279e7 mangoapp: use amdgpu metrics 2 years ago