]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: implement read_sensor() for pre-powerplay chips
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 14 Feb 2017 00:00:49 +0000 (01:00 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:03 +0000 (23:53 -0400)
commitd0e3c10bcf7515afdf1dc69fffb9d347a7533cee
treeb14a6d711a6e8065e64b31599fdada9668163cee
parentfee59108671f215fcd74961530eee1b41dfc70f4
drm/amdgpu: implement read_sensor() for pre-powerplay chips

Add the GPU temperature, the shader clock and eventually the
memory clock (as well as the GPU load on CI). The main goal is
to expose this info to the userspace like Radeon.

v2: - add AMDGPU_PP_SENSOR_GPU_LOAD on CI
    - update the commit description

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/amdgpu/kv_dpm.c
drivers/gpu/drm/amd/amdgpu/si_dpm.c