aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorLukasz Luba <[email protected]>2017-05-04 11:34:33 +0000
committerZhang Rui <[email protected]>2017-05-05 07:54:45 +0000
commit771ffa14ead18887bed400c09f4bde5bca5bf342 (patch)
treee7944a6eedc65446aeae114d0ac34d8dedd51b21 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentthermal: devfreq_cooling: add new interface for direct power read (diff)
downloadkernel-771ffa14ead18887bed400c09f4bde5bca5bf342.tar.gz
kernel-771ffa14ead18887bed400c09f4bde5bca5bf342.zip
trace: thermal: add another parameter 'power' to the tracing function
This patch adds another parameter to the trace function: trace_thermal_power_devfreq_get_power(). In case when we call directly driver's code for the real power, we do not have static/dynamic_power values. Instead we get total power in the '*power' value. The 'static_power' and 'dynamic_power' are set to 0. Therefore, we have to trace that '*power' value in this scenario. CC: Steven Rostedt <[email protected]> CC: Ingo Molnar <[email protected]> CC: Zhang Rui <[email protected]> CC: Eduardo Valentin <[email protected]> Acked-by: Javi Merino <[email protected]> Signed-off-by: Lukasz Luba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions