commit | 681ed01c62915656b9807f25e23f18c0d77ad786 | [log] [tgz] |
---|---|---|
author | Eric Huang <JinHuiEric.Huang@amd.com> | Mon Apr 04 11:52:56 2016 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed May 04 20:29:39 2016 -0400 |
tree | 3f725bd1f61feca500c1d7bc3f234fdb666820a7 | |
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>