summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/therm/thrmpmu.h
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2017-01-18 18:08:38 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-23 08:53:55 -0500
commita86122e01a3b27652f2dea8cbdadd47ed6b3d216 (patch)
tree3e1abfe166ec22a7307cd02ff35da233ac4735a4 /drivers/gpu/nvgpu/therm/thrmpmu.h
parent8b4aadaaddce14bcf4109dd9f835993865c60b3b (diff)
gpu: nvgpu: read overcurrent policy from VBIOS
Since pwr_sensors, pwr_topology_ and pwr_policy_* tables in bios.h are not defined as packed, nvgpu driver is not able to find hw threshold pwr_policy table in VBIOS and ends up hard coding the HW thershold policy. Changed definitions to packed, and explicitly unpack structures when parsing the power policy table. Removed the function that did the hard coding. Jira DNVGPU-206 Change-Id: Idc2b5b5c86ddfe735631190dda10218cc462be3b Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1290303 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmpmu.h')
0 files changed, 0 insertions, 0 deletions