drm/amdgpu: refine vce_3.0 code.
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 13 Mar 2017 08:05:32 +0000 (16:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:51 +0000 (23:53 -0400)
commit2667989927bfb419d854169d845f205a69de423a
treec1c28683d66b0183e2347d69dac091640b0754b0
parent03a5f1df5bc3329efd3f8306c20f9b094cbbb08e
drm/amdgpu: refine vce_3.0 code.

fix logic error in hw_fini and
set_clockgating_state functions.

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