aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2/dss/dsi.c')
-rw-r--r--drivers/video/omap2/dss/dsi.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
index 638d8c29e9d9..2f356d471b0e 100644
--- a/drivers/video/omap2/dss/dsi.c
+++ b/drivers/video/omap2/dss/dsi.c
@@ -3562,28 +3562,6 @@ static u8 dsi_display_get_rotate(struct omap_dss_device *dssdev)
3562 return dssdev->driver->get_rotate(dssdev); 3562 return dssdev->driver->get_rotate(dssdev);
3563} 3563}
3564 3564
3565static int dsi_display_set_mirror(struct omap_dss_device *dssdev, bool mirror)
3566{
3567 DSSDBGF("%d", mirror);
3568
3569 if (!dssdev->driver->set_mirror || !dssdev->driver->get_mirror)
3570 return -EINVAL;
3571
3572 dsi_bus_lock();
3573 dssdev->driver->set_mirror(dssdev, mirror);
3574 dsi_bus_unlock();
3575
3576 return 0;
3577}
3578
3579static bool dsi_display_get_mirror(struct omap_dss_device *dssdev)
3580{
3581 if (!dssdev->driver->set_mirror || !dssdev->driver->get_mirror)
3582 return 0;
3583
3584 return dssdev->driver->get_mirror(dssdev);
3585}
3586
3587void dsi_get_overlay_fifo_thresholds(enum omap_plane plane, 3565void dsi_get_overlay_fifo_thresholds(enum omap_plane plane,
3588 u32 fifo_size, enum omap_burst_size *burst_size, 3566 u32 fifo_size, enum omap_burst_size *burst_size,
3589 u32 *fifo_low, u32 *fifo_high) 3567 u32 *fifo_low, u32 *fifo_high)
@@ -3615,9 +3593,6 @@ int dsi_init_display(struct omap_dss_device *dssdev)
3615 dssdev->get_rotate = dsi_display_get_rotate; 3593 dssdev->get_rotate = dsi_display_get_rotate;
3616 dssdev->set_rotate = dsi_display_set_rotate; 3594 dssdev->set_rotate = dsi_display_set_rotate;
3617 3595
3618 dssdev->get_mirror = dsi_display_get_mirror;
3619 dssdev->set_mirror = dsi_display_set_mirror;
3620
3621 /* XXX these should be figured out dynamically */ 3596 /* XXX these should be figured out dynamically */
3622 dssdev->caps = OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE | 3597 dssdev->caps = OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE |
3623 OMAP_DSS_DISPLAY_CAP_TEAR_ELIM; 3598 OMAP_DSS_DISPLAY_CAP_TEAR_ELIM;