OSDN Git Service

drm/amdgpu: fix memory clock can't switch on CI.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 18 Apr 2017 11:21:44 +0000 (19:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:43 +0000 (17:32 -0400)
commit7ef69843def65bdbf69a5be784e6a9e080f22ef6
treec5a7be2be05fdd9361786fd5472d942c1a5508c7
parentfb82afab134ab71b3b52224b6da12daea8662c28
drm/amdgpu: fix memory clock can't switch on CI.

if we set only lowest mclk level enabled,
when we enable uvd dpm during boot time,
mclk will be fixed in the lowest level.
the mclk switch will fail if try to enable
other level of mclk at this time.
so set all mclk levels enabled.

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>
drivers/gpu/drm/amd/amdgpu/ci_dpm.c