OSDN Git Service

drm/amdgpu: change clock gating mode for uvd_v4.
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 12 Jan 2017 13:48:26 +0000 (21:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jan 2017 20:25:26 +0000 (15:25 -0500)
commitca581e45335c6aa45e5b27999bc13bdefb7e84d9
tree15a614375a2dafd54e3245ceb99efda2b2743d25
parent50a1ebc70a2803deb7811fc73fb55d70e353bc34
drm/amdgpu: change clock gating mode for uvd_v4.

use sw cg when decode. and hw cg when idle.

fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=99313
https://bugzilla.kernel.org/show_bug.cgi?id=192161

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Ack-by: Tom St Denis <tom.stdenis@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_v4_2.c