]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdabf7a79922285777e34f3e6f92da86ba9127506
tree15a614375a2dafd54e3245ceb99efda2b2743d25
parent7770b138206a946303124fc5cd0ed7b56dd2ed10
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