[PATCH] drm/amdgpu: Add sysfs file for VBIOS
Tom St Denis
tom.stdenis at amd.com
Fri Aug 25 19:36:03 UTC 2017
On 25/08/17 03:33 PM, Felix Kuehling wrote:
> I think the power measurement is a bit of a hack right now. It requires
> pinging the SMU twice to start and stop the measurement, and waiting for
> some time (but not too long) in between. I think if we want to expose
> this via hwmon, we'll need to have some kind of timer that polls it in
> regular intervals in the background and updates a value that can be
> queried through HWMon without delay.
We had this debate about 8 months ago :-)
I don't know if adding an ever present kthread just for this though is a
super use of resources.
In umr when I read it I read the sensors in a separate thread from the
main UI so that it doesn't mess with things.
Tom
More information about the amd-gfx
mailing list