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 565be05060598c13f05a5f1715098da8114ee864..b842eafdf66c2ed81e9cdca7bea53f58821cf52f 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 @@ -77,13 +77,6 @@ void dal_isr_release_lock(struct dc_context *ctx) * End-of-IRQ Interfaces. *****************************************************************************/ -bool dm_get_platform_info(struct dc_context *ctx, - struct platform_info_params *params) -{ - /*TODO*/ - return false; -} - bool dm_write_persistent_data(struct dc_context *ctx, const struct dc_sink *sink, const char *module_name, diff --git a/drivers/gpu/drm/amd/display/dc/dm_services.h b/drivers/gpu/drm/amd/display/dc/dm_services.h index f3f9a401160cc7f23d927011b1c3d08253e921bd..11a0abfd341870c4137f9233243873734290bc90 100644 --- a/drivers/gpu/drm/amd/display/dc/dm_services.h +++ b/drivers/gpu/drm/amd/display/dc/dm_services.h @@ -282,38 +282,6 @@ bool dm_pp_get_static_clocks( /****** end of PP interfaces ******/ -enum platform_method { - PM_GET_AVAILABLE_METHODS = 1 << 0, - PM_GET_LID_STATE = 1 << 1, - PM_GET_EXTENDED_BRIGHNESS_CAPS = 1 << 2 -}; - -struct platform_info_params { - enum platform_method method; - void *data; -}; - -struct platform_info_brightness_caps { - uint8_t ac_level_percentage; - uint8_t dc_level_percentage; -}; - -struct platform_info_ext_brightness_caps { - struct platform_info_brightness_caps basic_caps; - struct data_point { - uint8_t luminance; - uint8_t signal_level; - } data_points[99]; - - uint8_t data_points_num; - uint8_t min_input_signal; - uint8_t max_input_signal; -}; - -bool dm_get_platform_info( - struct dc_context *ctx, - struct platform_info_params *params); - struct persistent_data_flag { bool save_per_link; bool save_per_edid;