]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: refine uvd gate logic for CI.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 24 Aug 2016 11:39:06 +0000 (19:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2016 16:24:15 +0000 (12:24 -0400)
commitf6d6cc72a02c33738547763031d463cec0ddbea9
treea64baf21f9cd6c2b89abaa26746d408a35a6e6a8
parent610fbc2e7dcc67957454c4613fd72d664149d6ec
drm/amdgpu: refine uvd gate logic for CI.

uvd dpm will be controlled by uvd.
dpm just disable uvd dpm in case of suspend when play video.
due to the new logic of uvd_begin_use/end_use,
if disable uvd dpm in late init, will have no chance to
enable uvd dpm after resume until play video again.

Change-Id: I70e3d7efe63edad37f26e6c5ea089da1135c0ab5
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/ci_dpm.c