]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: handle uvd pg flags properly
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Feb 2016 04:26:56 +0000 (23:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Feb 2016 15:37:42 +0000 (10:37 -0500)
commit241d53314262bc7e45834aec4239f34750b2d38a
treedf63099a0b0fe78f2c499333b219b4118131d7b0
parent3a7eb2e67e587352e0502a08518f0ceb6856b2e4
drm/amdgpu: handle uvd pg flags properly

Don't attempt to start/stop the uvd block if pg is disabled.

Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c