Skip to content

Commit

Permalink
drm/radeon: remove sumo dpm/uvd bringup leftovers
Browse files Browse the repository at this point in the history
Function doesn't do anything useful.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Alex Deucher committed Jul 1, 2013
1 parent f7d452f commit aa71d83
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions drivers/gpu/drm/radeon/sumo_dpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1133,22 +1133,6 @@ static void sumo_cleanup_asic(struct radeon_device *rdev)
sumo_take_smu_control(rdev, false);
}

static void sumo_uvd_init(struct radeon_device *rdev)
{
u32 tmp;

tmp = RREG32(CG_VCLK_CNTL);
tmp &= ~VCLK_DIR_CNTL_EN;
WREG32(CG_VCLK_CNTL, tmp);

tmp = RREG32(CG_DCLK_CNTL);
tmp &= ~DCLK_DIR_CNTL_EN;
WREG32(CG_DCLK_CNTL, tmp);

/* 100 Mhz */
radeon_set_uvd_clocks(rdev, 10000, 10000);
}

static int sumo_set_thermal_temperature_range(struct radeon_device *rdev,
int min_temp, int max_temp)
{
Expand Down Expand Up @@ -1348,7 +1332,6 @@ void sumo_dpm_setup_asic(struct radeon_device *rdev)
sumo_program_acpi_power_level(rdev);
sumo_enable_acpi_pm(rdev);
sumo_take_smu_control(rdev, true);
sumo_uvd_init(rdev);
}

void sumo_dpm_display_configuration_changed(struct radeon_device *rdev)
Expand Down

0 comments on commit aa71d83

Please sign in to comment.