1. 29 Oct, 2012 10 commits
    • Tomi Valkeinen's avatar
      OMAPDSS: HDMI: add 1920x1200 video mode · 7a7ce2c7
      Tomi Valkeinen authored
      Add 1920x1200 video mode to hdmi driver's static modelist.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Ricardo Neri <ricardo.neri@ti.com>
      7a7ce2c7
    • Tomi Valkeinen's avatar
      OMAPDSS: HDMI: use core power on/off with edid & detect · 4489823c
      Tomi Valkeinen authored
      This patch makes use of the hdmi_power_[on|off]_core() functions added
      in the previous patch. The functions are used when reading EDID or
      detecting if a monitor is connected.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Ricardo Neri <ricardo.neri@ti.com>
      4489823c
    • Tomi Valkeinen's avatar
      OMAPDSS: HDMI: split power_on/off to two parts · bb426fc9
      Tomi Valkeinen authored
      There's currently just one power-on function for HDMI, which enables the
      IP and the video output. When reading EDID or detecting if a monitor is
      connected, we don't need the video output.
      
      Enabling the video output for these operations is not a big problem in
      itself, but the quick enable/disable cycles caused by the operations
      seem to cause sync lost errors from time to time. Also, this makes it
      possible to read the EDID before the full video path has been set up.
      
      This patch splits the hdmi_power_on into two parts, hdmi_power_on_core
      and hdmi_power_on_full. The "full" version does what hdmi_power_on does
      currently, and hdmi_power_on_core only enables the core IP. Similar
      changes are made for power_off.
      
      Note that these don't allow the HDMI IP to be first enabled, and later
      enable the video output, but the HDMI IP will first need to be powered
      off before calling the full version. So this is rather limited
      implementation, but it fills the needs for reading EDID.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Ricardo Neri <ricardo.neri@ti.com>
      bb426fc9
    • Tomi Valkeinen's avatar
      OMAPDSS: DISPC: Add IRQ enable/status helpers · 4e0397cf
      Tomi Valkeinen authored
      DISPC irqs need to be handled from the compat layer and also in the
      future by the omapdrm. To make this possible, this patchs adds a set of
      helper functions, so that the irqs can be managed without direct
      register reads/writes.
      
      The following functions are added, and all the current direct reg
      reads/writes are changed to use these.
      
      u32 dispc_read_irqstatus(void);
      void dispc_clear_irqstatus(u32 mask);
      u32 dispc_read_irqenable(void);
      void dispc_write_irqenable(u32 mask);
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      4e0397cf
    • Tomi Valkeinen's avatar
      OMAPDSS: add dispc_ovl_enabled() · 04bd8ac1
      Tomi Valkeinen authored
      Add new dispc function, dispc_ovl_enabled(). This returns if the overlay
      enable bit is set in the registers.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      04bd8ac1
    • Tomi Valkeinen's avatar
      OMAPDSS: DISPC: make _enable_mgr_out public as "dispc_mgr_enable" · f1a813d3
      Tomi Valkeinen authored
      We need a low level manager-enable function for omapdrm. We have that
      function as dispc internal func, _enable_mgr_out().
      
      This patch exposes that function, and renames it to dispc_mgr_enable().
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      f1a813d3
    • Tomi Valkeinen's avatar
      OMAPDSS: DISPC: rename dispc_mgr_enable/disable to _sync · 3a979f8a
      Tomi Valkeinen authored
      The current dispc_mgr_enable/disable function are blocking, and do a bit
      too much for omapdrm. We'll expose new enable & disable functions that
      will just set the bits in the registers in the following patches.
      
      This patch renames the current functions to *_sync, to make it clear
      that they are blocking, and also to free up the dispc_mgr_enable/disable
      names for these new functions.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      3a979f8a
    • Tomi Valkeinen's avatar
      OMAPDSS: DISPC: use dss_feat_get_num_ovls() · 392faa0e
      Tomi Valkeinen authored
      Use dss_feat_get_num_ovls() in dispc.c instead of
      omap_dss_get_num_overlays() to remove the dependency to overlay.c. Note
      that we still have uses of omap_dss_get_num_overlays() in dispc.c, but
      these will be moved out in the future patches.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      392faa0e
    • Tomi Valkeinen's avatar
      OMAPDSS: remove initial display code from omapdss · 5d89bcc3
      Tomi Valkeinen authored
      Currently omapdss driver sets up the initial connections between
      overlays, overlay manager and a panel, based on default display
      parameter coming from the board file or via module parameters.
      
      This is unnecessary, as it's the higher level component that should
      decide what display to use and how. This patch removes the code from
      omapdss, and implements similar code to omapfb.
      
      The def_disp module parameter and the default display platform_data
      parameter are kept in omapdss, but omapdss doesn't do anything with
      them. It will just return the default display name with
      dss_get_default_display_name() call, which omapfb uses. This is done to
      keep the backward compatibility.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      5d89bcc3
    • Tomi Valkeinen's avatar
      OMAPDSS: export dss_get_def_display_name() · 2bbcce5e
      Tomi Valkeinen authored
      Export dss_get_def_display_name() with the name of
      omapdss_get_def_display_name() so that omapfb can use it after the next
      patch which moves default display handling to omapfb.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      2bbcce5e
  2. 24 Oct, 2012 4 commits
  3. 18 Oct, 2012 11 commits
  4. 17 Oct, 2012 10 commits
  5. 16 Oct, 2012 5 commits