]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: not set cg for vce/uvd in late init.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 13 Sep 2016 11:38:38 +0000 (19:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Sep 2016 19:52:51 +0000 (15:52 -0400)
commit366dca4c4ffbdfd4f80c3c2aa51e57c5729d6354
treedd3ef372f8d091f02211b459ab4d6929d5d5b83b
parentd999d9fa6e2833f3a709203873d19fd1bc9ad378
drm/amdgpu: not set cg for vce/uvd in late init.

no need to set cg for uvd/vce in late init.
As when ring test, uvd/vce's dpm will be enabled/disabled.
the cg will be set.

fix issue suspend when play video or encode, then resume back,
the clock will be bypassed on Polaris/Fiji.

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/amdgpu_device.c