drm/radeon: consolidate UVD clock programming
authorChristian König <christian.koenig@amd.com>
Mon, 29 Apr 2013 09:55:02 +0000 (11:55 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2013 14:09:48 +0000 (10:09 -0400)
commitfacd112d1395fb6a0b6e460778aefc32197afcfc
tree69cc696021ccfe1eb1d78a7aedfb32f984675118
parent092fbc4ca29a3d78895673479f794ee162a13ac5
drm/radeon: consolidate UVD clock programming

Instead of duplicating the code over and over again, just use a single
function to handle the clock calculations.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600d.h
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_uvd.c
drivers/gpu/drm/radeon/rv770.c
drivers/gpu/drm/radeon/si.c