diff options
author | Eric Huang <JinHuiEric.Huang@amd.com> | 2016-04-04 11:52:56 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-04 20:29:39 -0400 |
commit | 681ed01c62915656b9807f25e23f18c0d77ad786 (patch) | |
tree | 3f725bd1f61feca500c1d7bc3f234fdb666820a7 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 7d367c2aeaf6058e9c55c1d6bff4f5174b65854c (diff) |
drm/amd/powerplay: fix bug dpm can't work when resume back on Polaris
Need to initialize the values to 0 since they get or'ed with additional
values. If the initialization is missing, on resume, they may end up
with a combination of stale data and new data.
Fixes dpm on resume.
Signed-off-by: Rex Zhu <Rex.Zhu@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_pm.c')
0 files changed, 0 insertions, 0 deletions