1. 30 9月, 2011 2 次提交
    • A
      OMAP: DSS2: Create an enum for DSI pixel formats · a3b3cc2b
      Archit Taneja 提交于
      Currently, DSI pixel info is only represented by the pixel size in bits using
      the pixel_size parameter in omap_dss_device struct's ctrl member.
      
      This is not sufficient information for DSI video mode usage, as two of the
      supported formats(RGB666 loosely packed, and RGB888) have the same pixel
      container size, but different data_type values for the video mode packet header.
      
      Create enum "omap_dss_dsi_pixel_format" which describes the pixel data format
      the panel is configured for. Create helper function dsi_get_pixel_size() which
      returns the pixel size of the given pixel format.
      
      Modify functions omapdss_default_get_recommended_bpp() and dss_use_replication()
      to use dsi_get_pixel_size().
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      a3b3cc2b
    • A
      OMAP: DSS2: Use MIPI DSI enums from include/video/mipi_display.h · 7a7c48f9
      Archit Taneja 提交于
      MIPI DSI Transaction types and DCS commands are currently defined as
      macros in dsi.c and panel-taal.c, remove these and replace them with
      enum members defined in include/video/mipi_display.h.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      [tomi.valkeinen@ti.com: reformatted the commit message]
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      7a7c48f9
  2. 01 7月, 2011 3 次提交
    • T
      OMAP: DSS2: DSI: sync when disabling a display · 15ffa1da
      Tomi Valkeinen 提交于
      When the panel driver calls omapdss_dsi_display_disable() it is possible
      that there are still some unsent packets in the TX fifo.
      
      Add dsi_sync_vc() calls in the beginning of
      omapdss_dsi_display_disable() to make sure the TX fifos are empty.
      
      This allows us to remove the msleep(10) hack from panel-taal.c
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      15ffa1da
    • T
      OMAP: DSS2: Taal: Make driver more fault tolerant · e8945677
      Tomi Valkeinen 提交于
      If ULPS exit fails, and the following reset fails also, Taal driver was
      left in state where it thinks DSI is enabled while it really isn't,
      leading to crash.
      
      This patch checks the return value of taal_panel_reset, and if that
      fails, ulps_enabled is left true, causing the driver to retry ulps exit
      later.
      
      Also the return value of taal_wake_up is checked at taal_disable, and if
      wake up fails, we'll skip the power_off. This could leave the panel into
      a not-quite-valid state, but there's nothing we can do about it in that
      situation.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      e8945677
    • T
      OMAP: DSS2: remove update_mode from omapdss · 8cff88c5
      Tomi Valkeinen 提交于
      Remove the whole update_mode stuff from omapdss driver. If automatic
      update for manual update displays is needed, it's better implemented in
      higher layers.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      8cff88c5
  3. 13 5月, 2011 2 次提交
  4. 11 5月, 2011 11 次提交
  5. 23 3月, 2011 1 次提交
  6. 11 3月, 2011 1 次提交
    • A
      OMAP: DSS2: Use request / release calls in Taal for DSI Virtual Channels. · bc6d4b1d
      Archit Taneja 提交于
      Taal driver used to take a hard coded Macro for Virtual Channel and the VC_ID.
      The Taal panel driver now requests for a Virtual channel through the
      omap_dsi_request_vc() call in taal_probe().
      
      The channel number returned by the request_vc() call is used for sending command
      and data to the Panel. The DSI driver automatically configures the Virtual
      Channel's source to either Video Port or L4 Slave port based on what the panel
      driver is using it for.
      
      The driver uses omap_dsi_release_vc() to free the VC specified by the panel.
      taal_remove() or when a request_vc() call fails.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      bc6d4b1d
  7. 16 11月, 2010 1 次提交
  8. 05 8月, 2010 2 次提交
  9. 03 8月, 2010 17 次提交