drm/amdgpu: refine vce3.0 initialize.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 10 Jan 2017 11:54:25 +0000 (19:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:13:15 +0000 (11:13 -0500)
commit714b1f5371fc4b4d5f49dd1715a595c17871edac
tree8ce4b59ac8fe96f004a294726ab57641bd6706cd
parent570272d2296ce42b7d0b4c5afa5b668100930507
drm/amdgpu: refine vce3.0 initialize.

1. disable vce cg when vce hw initialize.
2. initizlize vce clock to 10KHz fo dgpu,
   so no need to set bypass clock to vce.

Change-Id: I934c2c4820cc95c1bfa2fa41ff0f40a0d3cd1c40
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/vce_v3_0.c
drivers/gpu/drm/amd/amdgpu/vi.c