aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
diff options
context:
space:
mode:
authorPrike Liang <[email protected]>2019-05-27 08:05:50 +0000
committerAlex Deucher <[email protected]>2019-06-11 17:40:06 +0000
commit80f41f84ae2c99ff2fd88163f2293f86c3c68af1 (patch)
tree0890dd94d0b2046b7a0fee388dfce596081602f3 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
parentdrm/amd/powerplay: add set_power_profile_mode for raven1_refresh (diff)
downloadkernel-80f41f84ae2c99ff2fd88163f2293f86c3c68af1.tar.gz
kernel-80f41f84ae2c99ff2fd88163f2293f86c3c68af1.zip
drm/amd/amdgpu: add RLC firmware to support raven1 refresh
Use SMU firmware version to indentify the raven1 refresh device and then load homologous RLC FW. Signed-off-by: Prike Liang <[email protected]> Suggested-by: Huang Rui<[email protected]> Reviewed-by: Huang Rui <[email protected]> Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
index f21a7716b90e..7ff0e7621fff 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
@@ -34,6 +34,7 @@ void amdgpu_pm_acpi_event_handler(struct amdgpu_device *adev);
int amdgpu_pm_sysfs_init(struct amdgpu_device *adev);
void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev);
void amdgpu_pm_print_power_states(struct amdgpu_device *adev);
+int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_version);
void amdgpu_pm_compute_clocks(struct amdgpu_device *adev);
void amdgpu_dpm_thermal_work_handler(struct work_struct *work);
void amdgpu_dpm_enable_uvd(struct amdgpu_device *adev, bool enable);