diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2014-01-07 12:16:05 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2014-01-07 12:55:37 -0500 |
| commit | 9a04dad3a178d37fc3c1485ff717a88896bd63e7 (patch) | |
| tree | 1efca06243fc70b7c2fae21b6d86c988639dd5fa | |
| parent | b4fcab37b1b70d201e17a23de22581fef197292b (diff) | |
drm/radeon/dpm: make some functions static for CI
Noticed by Rashika Kheria and cherry-picked from
her larger patch set.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Rashika Kheria <rashika.kheria@gmail.com>
| -rw-r--r-- | drivers/gpu/drm/radeon/ci_dpm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c index a3c4711d8222..8d49104ca6c2 100644 --- a/drivers/gpu/drm/radeon/ci_dpm.c +++ b/drivers/gpu/drm/radeon/ci_dpm.c | |||
| @@ -4502,8 +4502,8 @@ static void ci_get_memory_type(struct radeon_device *rdev) | |||
| 4502 | 4502 | ||
| 4503 | } | 4503 | } |
| 4504 | 4504 | ||
| 4505 | void ci_update_current_ps(struct radeon_device *rdev, | 4505 | static void ci_update_current_ps(struct radeon_device *rdev, |
| 4506 | struct radeon_ps *rps) | 4506 | struct radeon_ps *rps) |
| 4507 | { | 4507 | { |
| 4508 | struct ci_ps *new_ps = ci_get_ps(rps); | 4508 | struct ci_ps *new_ps = ci_get_ps(rps); |
| 4509 | struct ci_power_info *pi = ci_get_pi(rdev); | 4509 | struct ci_power_info *pi = ci_get_pi(rdev); |
| @@ -4513,8 +4513,8 @@ void ci_update_current_ps(struct radeon_device *rdev, | |||
| 4513 | pi->current_rps.ps_priv = &pi->current_ps; | 4513 | pi->current_rps.ps_priv = &pi->current_ps; |
| 4514 | } | 4514 | } |
| 4515 | 4515 | ||
| 4516 | void ci_update_requested_ps(struct radeon_device *rdev, | 4516 | static void ci_update_requested_ps(struct radeon_device *rdev, |
| 4517 | struct radeon_ps *rps) | 4517 | struct radeon_ps *rps) |
| 4518 | { | 4518 | { |
| 4519 | struct ci_ps *new_ps = ci_get_ps(rps); | 4519 | struct ci_ps *new_ps = ci_get_ps(rps); |
| 4520 | struct ci_power_info *pi = ci_get_pi(rdev); | 4520 | struct ci_power_info *pi = ci_get_pi(rdev); |
| @@ -5001,8 +5001,8 @@ static int ci_parse_power_table(struct radeon_device *rdev) | |||
| 5001 | return 0; | 5001 | return 0; |
| 5002 | } | 5002 | } |
| 5003 | 5003 | ||
| 5004 | int ci_get_vbios_boot_values(struct radeon_device *rdev, | 5004 | static int ci_get_vbios_boot_values(struct radeon_device *rdev, |
| 5005 | struct ci_vbios_boot_state *boot_state) | 5005 | struct ci_vbios_boot_state *boot_state) |
| 5006 | { | 5006 | { |
| 5007 | struct radeon_mode_info *mode_info = &rdev->mode_info; | 5007 | struct radeon_mode_info *mode_info = &rdev->mode_info; |
| 5008 | int index = GetIndexIntoMasterTable(DATA, FirmwareInfo); | 5008 | int index = GetIndexIntoMasterTable(DATA, FirmwareInfo); |
