1. 02 6月, 2017 2 次提交
  2. 03 4月, 2017 5 次提交
  3. 01 3月, 2017 1 次提交
  4. 02 11月, 2016 2 次提交
  5. 20 5月, 2016 11 次提交
  6. 03 3月, 2016 4 次提交
    • T
      drm/omap: remove dss compat code · 9198891b
      Tomi Valkeinen 提交于
      We have removed all the uses of compat code from omapdrm and the
      non-compat parts of omapdss, so now we can remove all the compat code
      itself.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      9198891b
    • T
      drm/omap, omapfb: move exported dispc function declarations to omapdrm/omapfb · 35a339ac
      Tomi Valkeinen 提交于
      omapdrm and omapfb still share the same include/video/omapdss.h. We need
      to change that so that we can proceed with omapdrm work.
      
      However, it's not trivial to make separate omapfb and omapdrm versions
      of omapdss.h, as that file is also included in other places like arch
      code, audio code and omap_vout code. So we'll do it piece by piece.
      
      This patch makes private versions of all the dispc function declarations
      that are in omapdss.h. For omapdrm we create a new file,
      drivers/gpu/drm/omapdrm/dss/omapdss.h, which will contain headers meant
      to be visible outside omapdss.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      35a339ac
    • T
      drm/omap: move dss_suspend/resume_all to core.c · 18840d3f
      Tomi Valkeinen 提交于
      core.c is the only caller of dss_disable_all_devices(). We can thus move
      the function from display.c to core.c and make it static.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      18840d3f
    • T
      drm/omap: fix suspend/resume handling · 92bf0f9e
      Tomi Valkeinen 提交于
      For legacy reasons omapdss handles system suspend/resume via PM notifier
      callback, where the driver disables/resumes all the outputs.
      
      This doesn't work well with omapdrm. What happens on suspend is that the
      omapdss disables the displays while omapdrm is still happily continuing
      its work, possibly waiting for an vsync irq, which will never come if
      the display output is disabled, leading to timeouts and errors sent to
      userspace.
      
      This patch moves the suspend/resume handling to omapdrm, and the
      suspend/resume is now done safely inside modeset lock.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      92bf0f9e
  7. 29 12月, 2015 3 次提交
  8. 17 6月, 2015 1 次提交
  9. 04 2月, 2015 5 次提交
  10. 12 11月, 2014 6 次提交
    • T
      OMAPDSS: DSI: use common DSS PLL support · 2daea7af
      Tomi Valkeinen 提交于
      Now that we have the common DSS PLL support, change DSI to use it. This
      results in quite a lot of changes, but almost all of them are trivial
      name changes.
      
      The functions to calculate and program the PLL settings can be removed
      from dsi.c, as the common PLL API contains the same functionality.
      
      We also need to create struct dss_pll_hw entries for PLL hardware
      features for different OMAP platforms, instead of using the
      dss_features.c as the old code does.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      2daea7af
    • T
      OMAPDSS: Add common PLL code · 0a20170a
      Tomi Valkeinen 提交于
      OMAP DSS currently contains two different PLLs: DSI PLL (Type A PLL) and
      HDMI PLL (Type B PLL). When DRA7 support is added, we will also support
      Video PLLs (Type A).
      
      The driver currently handles all PLLs totally separately. This patch
      adds common DSS PLL code, which
      
      a) lets us have common code for the PLLs
      b) lets the users of the PLLs use a common API, instead of DSI API or
         HDMI API.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      0a20170a
    • T
      OMAPDSS: DSI: dsi_runtime_get/put in pll_init · f76b178a
      Tomi Valkeinen 提交于
      When DPI uses the DSI PLL for pixel clock, the DPI code will call
      dsi_runtime_get/put to keep the DSI block enabled. A much simpler way to
      handle this is to do dsi_runtime_get/put in DSI's dsi_pll_init() and
      dsi_pll_uninit(), thus removing the need for DSI to call the runtime PM
      functions.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      f76b178a
    • T
      OMAPDSS: DSI: turn hsdivs fields to arrays · acf604b7
      Tomi Valkeinen 提交于
      We are creating a common DSS PLL code, so having fixed DSI specific
      hsdiv fields in the clock information is not ok.
      
      This patch changes the hsdiv fields to arrays, so that we can use all
      the 4 possible hsdiv outputs (DSI only usees 2), and we have generic way
      to access the hsdivs.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      acf604b7
    • T
      OMAPDSS: DSI: rename clkin4ddr to clkdco · 4a38aede
      Tomi Valkeinen 提交于
      We are creating a common DSS PLL code, so rename 'clkin4ddr' field,
      which is DSI specific name, to 'clkdco' which is a generic name.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      4a38aede
    • T
      OMAPDSS: DSI: remove clkin from dsi_clock_info · 3640d9fa
      Tomi Valkeinen 提交于
      struct dsi_clock_info contains clkin field, which is the rate of the
      PLL's input clock. This field is not needed, as it can be easily
      retrieved by using the clk_get_rate().
      
      This patch removes the clkin field.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      3640d9fa