drm/radeon: properly handle cg on asics without UVD
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 27 Jul 2013 21:53:25 +0000 (17:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jul 2013 22:14:38 +0000 (18:14 -0400)
commitb2d70917e4b9fc5bddfbd025bfb1f15185e74971
treebea479c9e67cc991306e62b3eb8db58bf452398b
parent46348dc29bc936360057e9b41003274284ec0a47
drm/radeon: properly handle cg on asics without UVD

Don't try and enable clockgating if the asic doesn't have
UVD.  Use rdev->has_uvd rather than using local checks.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/si.c