thermal/int340x_thermal: Export GDDV
authorMatthew Garrett <mjg59@google.com>
Tue, 14 Apr 2020 02:09:51 +0000 (19:09 -0700)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 29 May 2020 18:26:51 +0000 (20:26 +0200)
commit0ba13c763aacb27ab32bde5d559bf40e88465921
tree74bc43e2480c0cc51393774ccbc6cdd1a33a960a
parent47fa116e5faec894f6238f87322c01dd41d21e23
thermal/int340x_thermal: Export GDDV

Implementing DPTF properly requires making use of firmware-provided
information associated with the INT3400 device. Calling GDDV provides a
buffer of information which userland can then interpret to determine
appropriate DPTF policy.

Conflicts:
drivers/thermal/intel/int340x_thermal/int3400_thermal.c

Signed-off-by: Matthew Garrett <mjg59@google.com>
Tested-by: Pandruvada, Srinivas <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20200414020953.255364-1-matthewgarrett@google.com
drivers/thermal/intel/int340x_thermal/int3400_thermal.c