]> 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)
commitaf630d031f4784866d2f88824c77d86ec608da69
treedf63099a0b0fe78f2c499333b219b4118131d7b0
parente824b607d6f9c051aab718054b1918be2ef4935f
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