diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2012-03-08 11:03:04 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-10 08:05:52 -0500 |
commit | 89f58dcdf997ee2133f3d5b1d91697887c2345a3 (patch) | |
tree | f7e8c22d6032d8dd94e8e52eb0f8a55b8f757d42 | |
parent | fda95c2e7304c9d4d7ed8f2590346acbbfff2f99 (diff) |
gma500: medfield: drop a bit of dead code
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/gma500/mdfld_dsi_output.c | 11 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/mdfld_dsi_output.h | 10 |
2 files changed, 0 insertions, 21 deletions
diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_output.c b/drivers/gpu/drm/gma500/mdfld_dsi_output.c index 88d330d95f2c..4c2cb4a8ad98 100644 --- a/drivers/gpu/drm/gma500/mdfld_dsi_output.c +++ b/drivers/gpu/drm/gma500/mdfld_dsi_output.c | |||
@@ -205,17 +205,6 @@ int mdfld_dsi_get_power_mode(struct mdfld_dsi_config *dsi_config, u32 *mode, | |||
205 | return mdfld_dsi_get_panel_status(dsi_config, 0x0a, mode, hs); | 205 | return mdfld_dsi_get_panel_status(dsi_config, 0x0a, mode, hs); |
206 | } | 206 | } |
207 | 207 | ||
208 | int mdfld_dsi_get_diagnostic_result(struct mdfld_dsi_config *dsi_config, | ||
209 | u32 *result, bool hs) | ||
210 | { | ||
211 | if (!dsi_config || !result) { | ||
212 | DRM_ERROR("Invalid parameter\n"); | ||
213 | return -EINVAL; | ||
214 | } | ||
215 | |||
216 | return mdfld_dsi_get_panel_status(dsi_config, 0x0f, result, hs); | ||
217 | } | ||
218 | |||
219 | /* | 208 | /* |
220 | * NOTE: this function was used by OSPM. | 209 | * NOTE: this function was used by OSPM. |
221 | * TODO: will be removed later, should work out display interfaces for OSPM | 210 | * TODO: will be removed later, should work out display interfaces for OSPM |
diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_output.h b/drivers/gpu/drm/gma500/mdfld_dsi_output.h index 8e4f717e50f2..21071cef92a4 100644 --- a/drivers/gpu/drm/gma500/mdfld_dsi_output.h +++ b/drivers/gpu/drm/gma500/mdfld_dsi_output.h | |||
@@ -227,14 +227,6 @@ enum { | |||
227 | #define DSI_DPI_COMPLETE_LAST_LINE BIT(2) | 227 | #define DSI_DPI_COMPLETE_LAST_LINE BIT(2) |
228 | #define DSI_DPI_DISABLE_BTA BIT(3) | 228 | #define DSI_DPI_DISABLE_BTA BIT(3) |
229 | 229 | ||
230 | struct mdfld_dsi_connector_state { | ||
231 | u32 mipi_ctrl_reg; | ||
232 | }; | ||
233 | |||
234 | struct mdfld_dsi_encoder_state { | ||
235 | |||
236 | }; | ||
237 | |||
238 | struct mdfld_dsi_connector { | 230 | struct mdfld_dsi_connector { |
239 | struct psb_intel_connector base; | 231 | struct psb_intel_connector base; |
240 | 232 | ||
@@ -381,8 +373,6 @@ extern void mdfld_dsi_controller_init(struct mdfld_dsi_config *dsi_config, | |||
381 | 373 | ||
382 | extern int mdfld_dsi_get_power_mode(struct mdfld_dsi_config *dsi_config, | 374 | extern int mdfld_dsi_get_power_mode(struct mdfld_dsi_config *dsi_config, |
383 | u32 *mode, bool hs); | 375 | u32 *mode, bool hs); |
384 | extern int mdfld_dsi_get_diagnostic_result(struct mdfld_dsi_config *dsi_config, | ||
385 | u32 *result, bool hs); | ||
386 | extern int mdfld_dsi_panel_reset(int pipe); | 376 | extern int mdfld_dsi_panel_reset(int pipe); |
387 | 377 | ||
388 | #endif /*__MDFLD_DSI_OUTPUT_H__*/ | 378 | #endif /*__MDFLD_DSI_OUTPUT_H__*/ |