]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83577fcefb43b6c609e68269f4cc365eea7b1b77
tree59e8742878eef9b3a54379ae6429e17a500f07d4
parent2f3752d0ef66447206cc6f7a2737cfcd60373760
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