summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_request.c
diff options
context:
space:
mode:
authorYoshihiro Kaneko <ykaneko0929@gmail.com>2019-05-13 23:03:55 +0300
committerEduardo Valentin <edubezval@gmail.com>2019-05-24 07:58:25 +0300
commit6a310f8f97bb8bc2e2bb9db6f49a1b8678c8d144 (patch)
tree4fd3e0323934328b27896015b0c1c63b03724c2d /drivers/gpu/drm/i915/i915_request.c
parentbdc4480a669d476814061b4da6bb006f7048c8e5 (diff)
downloadlinux-6a310f8f97bb8bc2e2bb9db6f49a1b8678c8d144.tar.xz
thermal: rcar_gen3_thermal: Update temperature conversion method
Update the formula to calculate temperature: Currently, current TEMP is calculated as average of val1 (is calculated by formula 1) and val2 (is calculated by formula 2). But, as description in HWM (chapter 10A.3.1.2 Normal Mode.) If (TEMP_CODE < THCODE2[11:0]) CTEMP value should be val1. If (TEMP_CODE > THCODE2[11:0]) CTEMP value should be val2. Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.c')
0 files changed, 0 insertions, 0 deletions