[PATCH] drm/amdgpu: Add sysfs file for VBIOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux