1. 09 5月, 2012 1 次提交
  2. 29 1月, 2012 1 次提交
  3. 02 12月, 2011 3 次提交
    • T
      OMAPDSS: DSI: call mgr_enable/disable for cmd mode displays · 9a147a65
      Tomi Valkeinen 提交于
      The current code uses dsi_video_mode_enable/disable functions to
      enable/disable DISPC output for video mode displays. For command mode
      displays we have no notion in the DISPC side of whether the panel is
      enabled, except when a dss_mgr_start_update() call is made.
      
      However, to properly maintain the DISPC state in apply.c, we need to
      know if a manager used for a manual update display is currently in use.
      
      This patch achieves that by changing dsi_video_mode_enable/disable to
      dsi_enable/disable_video_output, which is called by both video and
      command mode displays. For video mode displays it starts the actual
      pixel stream, as it did before. For command mode displays it doesn't do
      anything else than mark that the manager is currently in use.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      9a147a65
    • T
      OMAPDSS: remove partial update from panel-taal · 6331709b
      Tomi Valkeinen 提交于
      Partial update for manual update displays has never worked quite well:
      * The HW has limitations on the update area, and the x and width need to
        be even.
      * Showing a part of a scaled overlay causes artifacts.
      * Makes the management of dispc very complex
      
      Considering the above points and the fact that partial update is not
      used anywhere, this and the following patches remove the partial update
      support. This will greatly simplify the following re-write of the apply
      mechanism to get proper locking and additional features like fifo-merge.
      
      This patch removes the partial update from the panel-taal.c.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      6331709b
    • T
      OMAPDSS: remove partial update from DSI · 5476e74a
      Tomi Valkeinen 提交于
      Partial update for manual update displays has never worked quite well:
      * The HW has limitations on the update area, and the x and width need to
        be even.
      * Showing a part of a scaled overlay causes artifacts.
      * Makes the management of dispc very complex
      
      Considering the above points and the fact that partial update is not
      used anywhere, this and the following patches remove the partial update
      support. This will greatly simplify the following re-write of the apply
      mechanism to get proper locking and additional features like fifo-merge.
      
      This patch removes the partial update from the dsi.c.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      5476e74a
  4. 03 10月, 2011 1 次提交
  5. 30 9月, 2011 3 次提交
    • T
      OMAPDSS: Taal: remove external backlight support · bb36dbfd
      Tomi Valkeinen 提交于
      Taal panel driver supports two kinds of backlight control: 1) using DSI
      commands sent to the panel to control the backlight, 2) calling function
      pointers going to the board file to control the backlight.
      
      The second option is a bit hacky, and will no longer be needed when the
      PWM driver supports the backlight features. After that we can use the
      standard PWM backlight driver.
      
      This patch removes the second backlight control mechanism, and adds a
      boolean field, use_dsi_backlight, to nokia_dsi_panel_data which the
      board file can use to inform whether the panel driver should use DSI
      commands to control the backlight.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      bb36dbfd
    • 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
  6. 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
  7. 13 5月, 2011 2 次提交
  8. 11 5月, 2011 11 次提交
  9. 23 3月, 2011 1 次提交
  10. 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
  11. 16 11月, 2010 1 次提交
  12. 05 8月, 2010 2 次提交
  13. 03 8月, 2010 10 次提交