[COMMON] thermal: gpu_cooling: add static power table
authorHyeonseong Gil <hs.gil@samsung.com>
Wed, 4 May 2016 05:44:32 +0000 (14:44 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:12:39 +0000 (17:12 +0900)
commit729e4adda43c711d1e1ce7fc87214b3de0165c0e
treeb385ab990390ce7c1fe3ca961cf5c6351a2209b9
parent98222f8f2204746681a58bb50efd77f1b6fb5d68
[COMMON] thermal: gpu_cooling: add static power table

If gpu_cooling is registered for power_allocator governor,
build static power table with coefficient from ECT
and look up it in accordance with temperature and voltage.

Resolved migration conflicts from kernel 4.9 to 4.14.
- rename gpufreq_device -> gpufreq_cdev

Change-Id: I97ddb8b3ee3841eff98941059f4b5834213bf946
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
drivers/thermal/gpu_cooling.c