drm/amdgpu: fix bug mclk can't change on Polaris
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 23 Nov 2016 10:09:22 +0000 (18:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Dec 2016 23:08:23 +0000 (18:08 -0500)
commit3c3a7e616c02cbf0ffcd5888ceffb24e7ac73ad6
tree59e8742878eef9b3a54379ae6429e17a500f07d4
parent805b3ba87dfa7273567aed6e9c730e9b89b450d7
drm/amdgpu: fix bug mclk can't change on Polaris

the root cause is we gate the clock to uvd vcpu.
mclk's change should need the response from uvd if
it is power on.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c