drm/amdgpu: be consistent with uvd cg flags
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Feb 2016 04:33:56 +0000 (23:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Feb 2016 15:37:44 +0000 (10:37 -0500)
commit35e5912d0801184b57119383da003263a21eeed1
tree7cf2273a567ae162b617f4c1485870337a00d0b3
parent0fd4af9e328c0f694d21a646232a7a62da7ec4ae
drm/amdgpu: be consistent with uvd cg flags

Don't do anything if the uvd cg flags are not set.

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