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)
commit808a934fd47c1c4a1670069cbe2fae7c23068b14
tree0b1b9dafe384f51944d9b569b1717e704deb08f7
parentb6df77fc5c42041a11ff094e5595d1e7379c917f
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