[PATCH 4/8] dal: drop get platform info
Dave Airlie
airlied at gmail.com
Tue Dec 13 06:41:08 UTC 2016
From: Dave Airlie <airlied at redhat.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
.../drm/amd/display/amdgpu_dm/amdgpu_dm_services.c | 7 -----
drivers/gpu/drm/amd/display/dc/dm_services.h | 32 ----------------------
2 files changed, 39 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 565be05..b842eaf 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 f3f9a40..11a0abf 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;
--
2.9.3
More information about the amd-gfx
mailing list