aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2018-02-06 14:00:01 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:19:38 -0500
commitfda519fb5d7005d37e1675679a9f8dd0551b2d50 (patch)
tree7ae7016381a9d2fc3ca9b1a25bdc679a9c47333e /drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
parentcf8c19a305b24bcfc0d0a0fdf4f97cdb8d98ba40 (diff)
drm/amd/powerplay: Zero out power data in AMDGPU_PP_SENSOR_GPU_POWER readout
Since 12 of the 16 bytes are not initialized with anything let's ensure they're sensibly zeroed out otherwise debugfs callers will read back garbage (because they assume debugfs wrote sensible data back...) Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h')
0 files changed, 0 insertions, 0 deletions