[Bug,105712] intel-gpu-overlay is showing insane power consumption amounts
diff mbox

Message ID bug-105712-502-OkDzj6eqOu@http.bugs.freedesktop.org/
State New
Headers show

Commit Message

bugzilla-daemon@freedesktop.org March 23, 2018, 8:56 p.m. UTC
https://bugs.freedesktop.org/show_bug.cgi?id=105712

--- Comment #3 from Chris Wilson <chris@chris-wilson.co.uk> ---
Ok, try changing intel-gpu-tools:

Patch
diff mbox

diff --git a/overlay/power.c b/overlay/power.c
index 9ac90fde..e02edec8 100644
--- a/overlay/power.c
+++ b/overlay/power.c
@@ -116,7 +116,8 @@  int power_init(struct power *power)

        memset(power, 0, sizeof(*power));

-       power->fd = igt_perf_open(rapl_type_id(), rapl_gpu_power());
+       power->fd = -1;
+       //power->fd = igt_perf_open(rapl_type_id(), rapl_gpu_power());
        if (power->fd >= 0) {
                power->rapl_scale = rapl_gpu_power_scale();