aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2019-06-21 11:29:29 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-06-21 18:59:31 -0500
commit9634de271a474ca0e5fa04f3308b718f2e164e69 (patch)
tree3cd84daa4753fbb2f705f53a4546991f4137ba56 /drivers/gpu/drm/amd/powerplay/navi10_ppt.c
parentdrm/amd/powerplay: move get_thermal_temperature_range to ppt funcs (diff)
downloadlinux-dev-9634de271a474ca0e5fa04f3308b718f2e164e69.tar.xz
linux-dev-9634de271a474ca0e5fa04f3308b718f2e164e69.zip
drm/amd/powerplay: fix no statements in function returning non-void
Add missing return (rebase fix). Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/navi10_ppt.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/navi10_ppt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
index 1df844d50706..c737725f18b4 100644
--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
+++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
@@ -494,6 +494,8 @@ static int navi10_tables_init(struct smu_context *smu, struct smu_table *tables)
SMU_TABLE_INIT(tables, SMU_TABLE_ACTIVITY_MONITOR_COEFF,
sizeof(DpmActivityMonitorCoeffInt_t), PAGE_SIZE,
AMDGPU_GEM_DOMAIN_VRAM);
+
+ return 0;
}
static int navi10_allocate_dpm_context(struct smu_context *smu)