summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
diff options
context:
space:
mode:
authorTony Cheng <tony.cheng@amd.com>2017-08-13 13:50:52 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:16:46 -0400
commita185048ca88ce143f980f2b819f034cfc09a5377 (patch)
treeeb611070959085f5a1fbcf1f2f9201707a08d559 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
parent1e8635ea0ea370bf4f0f2b2f1b3eb61474dd962a (diff)
drm/amd/display: refactor pplib/smu communication
new per SoC interface instead legacy interface with lots of un-used field that only cause confusion model pp_smu like one of our HW objects with func_ptr interface to call into it. struct pp_smu as handle to call pp/smu Signed-off-by: Tony Cheng <tony.cheng@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c')
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
index 3348e90a0a37..aefd9ebc7bce 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
@@ -401,14 +401,6 @@ bool dm_pp_notify_wm_clock_changes(
return false;
}
-bool dm_pp_notify_wm_clock_changes_soc15(
- const struct dc_context *ctx,
- struct dm_pp_wm_sets_with_clock_ranges_soc15 *wm_with_clock_ranges)
-{
- /* TODO: to be implemented */
- return false;
-}
-
bool dm_pp_apply_power_level_change_request(
const struct dc_context *ctx,
struct dm_pp_power_level_change_request *level_change_req)
@@ -433,4 +425,9 @@ bool dm_pp_get_static_clocks(
return false;
}
+void dm_pp_get_funcs_rv(
+ struct dc_context *ctx,
+ struct pp_smu_funcs_rv *funcs)
+{}
+
/**** end of power component interfaces ****/