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

Tom St Denis tom.stdenis at amd.com
Fri Aug 25 13:34:13 UTC 2017


On 25/08/17 09:05 AM, Tom St Denis wrote:
> On 25/08/17 08:59 AM, Russell, Kent wrote:
>> There is GPU Power usage reported through amdgpu_pm_info, which also 
>> has some other information as well. I'd like that in sysfs, but I am 
>> unsure if we are  allowed to due to the other information reported there.
> 
> I thought the sensors were added to the DRM ioctl but apparently not.

Nope, it was actually (see amdgpu_kms.c).  Under an AMDGPU_INFO command 
you ask for AMDGPU_INFO_SENSOR and then fill out sensor_info.type.

Tom


More information about the amd-gfx mailing list