[Bug 105712] intel-gpu-overlay is showing insane power consumption amounts
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Mar 23 22:30:14 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105712
--- Comment #6 from leozinho29_eu at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180323/cc86effe/attachment.html>
More information about the dri-devel
mailing list