1. 15 8月, 2017 3 次提交
  2. 02 6月, 2017 6 次提交
  3. 03 4月, 2017 2 次提交
    • J
      drm/omap: Rename enum omap_plane to enum omap_plane_id · 864050c7
      Jyri Sarha 提交于
      The enum omap_plane conflicted with the same struct name for omapdrm
      plane private data. This rename should solve the conflict.
      
      The rename was implement with this very simple coccinelle patch:
      ------------------------
      @@
      @@
      enum
      -omap_plane
      +omap_plane_id
      ------------------------
      The patch was applied like this:
      spatch --sp-file <cocci_file> --all-includes --in-place --dir drivers/gpu/drm/omapdrm
      
      The above patch did not rename the actual enum definition. That was
      added manually on top of the spatch changes.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      864050c7
    • T
      drm/omap: move dispc related dss-feat funcs to dispc · c283400a
      Tomi Valkeinen 提交于
      omapdrm still uses a few non-dispc functions: dss_feat_get_num_mgrs(),
      dss_feat_get_num_ovls() and  dss_feat_get_supported_color_modes(). We
      want to provide omapdrm a single dispc_ops function pointer struct so
      that omapdrm will use either the current omapdss or the new omapdss6
      driver depending on the platform.
      
      Those three functions are really dispc functions, but are located in the
      dss_features.c for legacy reasons.
      
      This patch adds similar functionss to the dispc, and changes omapdrm to
      use those new functions. Underneath the functions still call the
      functions from dss_feature.c.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      c283400a
  4. 03 6月, 2016 1 次提交
  5. 20 5月, 2016 2 次提交
  6. 29 12月, 2015 4 次提交
  7. 25 2月, 2015 1 次提交
  8. 04 2月, 2015 2 次提交
  9. 12 11月, 2014 2 次提交
  10. 09 5月, 2014 2 次提交
  11. 17 4月, 2014 1 次提交
  12. 30 12月, 2013 1 次提交
  13. 09 10月, 2013 4 次提交
    • A
      omapdss: HDMI: Use OMAP4 HDMI core functions directly and remove hdmi_ip_ops · 425f02fd
      Archit Taneja 提交于
      After removing wrapper, pll and phy funcs from ti_hdmi_4xxx_ip.c, we are left
      with OMAP4 HDMI core functions. Use these directly in hdmi.c rather than using
      hdmi_ip_ops. Rename the core functions with a 'hdmi4' suffix.
      
      We used to have hdmi_ip_ops so that one could support HDMI within a TI SoC which
      had a non-DSS display subsytem. This however never got put into use, and hence
      these ops aren't useful any more.
      
      The DT/hwmod information for hdmi doesn't split the address space according to
      the required sub blocks. Keep the address offset and size information in the
      driver for now. This will be removed when the driver gets the information
      correctly from DT/hwmod.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      425f02fd
    • A
      omapdss: HDMI: create a PHY library · 5cac5aee
      Archit Taneja 提交于
      HDMI PHY is a block common to DSS in OMAP4, OMAP5 and DRA7x. Move the
      existing functions from ti_hdmi_4xxx_ip.c to a separate file. These funcs are
      called directly from the hdmi driver rather than hdmi_ip_ops function pointer
      calls.
      
      Add the PHY library function declarations to ti_hdmi.h. These will be shared
      amongst the omap4/5 hdmi platform drivers. Remove the PHY function pointer ops
      from the ti_hdmi_ip_ops struct.
      
      The DT/hwmod information for hdmi doesn't split the address space according to
      the required sub blocks. Keep the address offset and size information in the
      driver for now. This will be removed when the driver gets the information
      correctly from DT/hwmod.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      5cac5aee
    • A
      omapdss: HDMI: create a PLL library · c1577c1e
      Archit Taneja 提交于
      HDMI PLL is a block common to DSS in OMAP4, OMAP5 and DRA7x. Move the
      existing PLL functions from ti_hdmi_4xxx_ip.c and hdmi.c to a separate file.
      These funcs are called directly from the hdmi driver rather than hdmi_ip_ops
      function pointer calls.
      
      Add the PLL library function declarations to ti_hdmi.h. These will be shared
      amongst the omap4/5 hdmi platform drivers. Remove the PLL function pointer ops
      from the ti_hdmi_ip_ops struct. These will be shared amongst the omap4/5 hdmi
      platform drivers and other libraries.
      
      The DT/hwmod information for hdmi doesn't split the address space according to
      the required sub blocks. Keep the address offset and size information in the
      driver for now. This will be removed when the driver gets the information
      correctly from DT/hwmod.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      c1577c1e
    • A
      omapdss: HDMI: create a Wrapper library · f382d9eb
      Archit Taneja 提交于
      HDMI wrapper is a block common to DSS in OMAP4, OMAP5 and DRA7x. Move the
      existing functions from ti_hdmi_4xxx_ip.c to a separate file. These funcs are
      called directly from the hdmi driver rather than hdmi_ip_ops funtion pointer
      calls.
      
      Add new wrapper funcs which can be used by other hdmi libraries like core, pll
      and phy. Move some of the enums, structs and funcs related to the wrapper from
      ti_hdmi_4xxx_ip.h to ti_hdmi.h. These will be shared amongst the omap4/5 hdmi
      platform drivers and other libraries.
      
      The old hdmi_wp_init() is removed since it didn't do anything. Timing parameters
      like interlace, hsync_level and vsync_level weren't copied correctly before.
      Those are copied correctly now.
      
      The DT/hwmod information for hdmi doesn't split the address space according to
      the required sub blocks. Keep the address offset and size information in the
      driver for now. This will be removed when the driver gets the information
      correctly from DT/hwmod.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      f382d9eb
  14. 17 6月, 2013 1 次提交
  15. 10 4月, 2013 1 次提交
    • A
      omapdss: Features: Fix some parameter ranges · 3729a70b
      Archit Taneja 提交于
      Increase the DSS_FCLK and DSI_FCLK max supported frequencies, these come because
      some frequencies were increased from OMAP5 ES1 to OMAP5 ES2. We support only
      OMAP5 ES2 in the kernel, so replace the ES1 values with ES2 values. Increase the
      DSI PLL Fint range, this was previously just copied from the OMAP4 param range
      struct.
      
      Fix the maximum DSS_FCLK on OMAP2, it's 133 Mhz according to the TRM.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      3729a70b
  16. 22 3月, 2013 1 次提交
    • A
      omapdss: features: fix supported outputs for OMAP4 · ff588d83
      Archit Taneja 提交于
      The support outputs struct for overlay managers is incorrect for OMAP4. Make
      these changes:
      
      - DPI isn't supported via the LCD1 overlay manager, remove DPI as a supported
        output.
      - the TV manager can suppport DPI, but the omapdss driver doesn't support that
        yet, we require some muxing at the DSS level, and we also need to configure
        the hdmi pll in the DPI driver so that the TV manager has a pixel clock. We
        don't support that yet.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      ff588d83
  17. 14 2月, 2013 1 次提交
    • N
      OMAPDSS: add FEAT_DPI_USES_VDDS_DSI to omap3630_dss_feat_list · eb91e79b
      NeilBrown 提交于
      commit 195e672a
         OMAPDSS: DPI: Remove cpu_is_xxxx checks
      
      made the mistake of assuming that cpu_is_omap34xx() is exclusive of
      other cpu_is_* predicates whereas it includes cpu_is_omap3630().
      
      So on an omap3630, code that was previously enabled by
        if (cpu_is_omap34xx())
      is now disabled as
        dss_has_feature(FEAT_DPI_USES_VDDS_DSI)
      fails.
      
      So add FEAT_DPI_USES_VDDS_DSI to omap3630_dss_feat_list.
      
      Cc: Chandrabhanu Mahapatra <cmahapatra@ti.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: NNeilBrown <neilb@suse.de>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      eb91e79b
  18. 07 12月, 2012 1 次提交
  19. 20 11月, 2012 1 次提交
  20. 06 11月, 2012 1 次提交
  21. 17 10月, 2012 1 次提交
  22. 16 10月, 2012 1 次提交