aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/si.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-12-18 14:11:40 -0500
committerAlex Deucher <alexander.deucher@amd.com>2013-12-24 17:54:11 -0500
commit68e3a092c152443515c9ea2b0d008b80521efb4d (patch)
treecff1525805739395cb8c7b942645a9681fab5381 /drivers/gpu/drm/radeon/si.c
parentdrm/radeon/dpm: remove unnecessary checks in dpm_init (diff)
downloadlinux-dev-68e3a092c152443515c9ea2b0d008b80521efb4d.tar.xz
linux-dev-68e3a092c152443515c9ea2b0d008b80521efb4d.zip
drm/radeon/si: drop cg_update from dpm code
I'm not entirely sure this is required and it won't work with the dpm restructing anyway. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/si.c')
-rw-r--r--drivers/gpu/drm/radeon/si.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c
index a36736dab5e0..e3a9fc7a8020 100644
--- a/drivers/gpu/drm/radeon/si.c
+++ b/drivers/gpu/drm/radeon/si.c
@@ -5210,8 +5210,8 @@ static void si_enable_hdp_ls(struct radeon_device *rdev,
WREG32(HDP_MEM_POWER_LS, data);
}
-void si_update_cg(struct radeon_device *rdev,
- u32 block, bool enable)
+static void si_update_cg(struct radeon_device *rdev,
+ u32 block, bool enable)
{
if (block & RADEON_CG_BLOCK_GFX) {
si_enable_gui_idle_interrupt(rdev, false);