]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: handle vce pg flags properly
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Feb 2016 04:29:45 +0000 (23:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Feb 2016 15:37:43 +0000 (10:37 -0500)
commite80d00c635b7cb7f103fe3f39430509ae1f1d742
tree0b1b9dafe384f51944d9b569b1717e704deb08f7
parentaf630d031f4784866d2f88824c77d86ec608da69
drm/amdgpu: handle vce pg flags properly

Don't attempt to start/stop the vce 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/vce_v2_0.c
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c