All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 105712] intel-gpu-overlay is showing insane power consumption amounts
Date: Fri, 23 Mar 2018 22:30:14 +0000	[thread overview]
Message-ID: <bug-105712-502-Tg5RqcxwOy@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-105712-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 717 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=105712

--- Comment #6 from leozinho29_eu@hotmail.com ---
The lines

        fprintf(stderr, "rapl_type_id()=%"PRIx64",
rapl_gpu_power()=%"PRIx64"\n",
                rapl_type_id(), rapl_gpu_power());

made the overlay fail to build. I have changed that to (using lx is not
perfect, but PRIx64 made it fail to build):

        fprintf(stderr, "rapl_type_id()=%lx\n",rapl_type_id());
        fprintf(stderr, "rapl_gpu_power()=%lx\n",rapl_gpu_power());

which should result in the intended output. It was:

rapl_type_id()=d
rapl_gpu_power()=4
rapl_gpu_power_scale()=2,000000

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1566 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2018-03-23 22:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-23 14:25 [Bug 105712] intel-gpu-overlay is showing insane power consumption amounts bugzilla-daemon
2018-03-23 14:31 ` bugzilla-daemon
2018-03-23 18:39 ` bugzilla-daemon
2018-03-23 20:56 ` bugzilla-daemon
2018-03-23 21:09 ` bugzilla-daemon
2018-03-23 21:18 ` bugzilla-daemon
2018-03-23 22:30 ` bugzilla-daemon [this message]
2018-03-24  2:08 ` bugzilla-daemon
2018-03-24  2:55 ` bugzilla-daemon
2018-03-27 14:33 ` bugzilla-daemon
2018-03-27 18:30 ` bugzilla-daemon
2018-03-27 20:00 ` bugzilla-daemon
2018-10-11 19:52 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-105712-502-Tg5RqcxwOy@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.