1. 01 3月, 2018 4 次提交
  2. 19 12月, 2017 2 次提交
  3. 16 8月, 2017 1 次提交
  4. 08 8月, 2017 2 次提交
  5. 30 6月, 2017 2 次提交
  6. 02 6月, 2017 1 次提交
  7. 03 4月, 2017 4 次提交
    • J
      drm/omap: Major omap_modeset_init() cleanup · e8e13b15
      Jyri Sarha 提交于
      Cleanup overly complex omap_modeset_init(). The function is trying to
      support many unusual configuration, that have never been tested and
      are not supported by other parts of the dirver.
      
      After cleanup the init function creates exactly one connector,
      encoder, crtc, and primary plane per each connected dss-device. Each
      connector->encoder->crtc chain is expected to be separate and each
      crtc is connect to a single dss-channel. If the configuration does not
      match the expectations or exceeds the available resources, the
      configuration is rejected.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      e8e13b15
    • T
      drm/omap: fix display SYNC/DE flags · 50fa9f0b
      Tomi Valkeinen 提交于
      At the moment VSYNC/HSYNC/DE high/low flags set by the panel/encoder
      drivers get lost when the videotimings are translated to DRM's
      videomode, as DRM's mode does not have corresponding flags.
      
      DRM has bus-flags for this purpose, and while it lacks a few flags at
      the moment, it should be used here. However, until we rewrite omapdrm's
      device model, using bus-flags is rather difficult.
      
      As a short term fix, this patch makes sure that every time the videomode
      is set in omap_crtc_mode_set_nofb(), the driver asks for the SYNC/DE
      flags from the panel/encoder drivers, and thus we get the correct flags
      into use.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      50fa9f0b
    • T
      drm/omap: use dispc_ops · 9f759225
      Tomi Valkeinen 提交于
      Change omapdrm to get dispc_ops and use that to call the dispc functions
      instead or direct function calls.
      
      The change is very straightforward.
      
      The only problem was in omap_crtc_init() which calls pipe2vbl(crtc), and
      at that point of time the crtc->dev link, which is used to get the
      dispc_ops, has not been set up yet. This patch makes omap_crtc_init()
      skip the call to pipe2vbl() and instead calls
      dispc_ops->mgr_get_vsync_irq() directly.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      9f759225
    • T
      drm/omap: refactor CRTC HW property setup · 7e3d9274
      Tomi Valkeinen 提交于
      The current driver doesn't expose any of the CRTC HW properties like
      background color or transparency key, and sets them at CRTC enable time.
      
      Refactor this into a separate function and call that function from
      omap_crtc_atomic_flush(). This is the behavior we want when the
      properties can be configured, so this patch makes it easier to add
      patches later which implement those properties.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      7e3d9274
  8. 16 2月, 2017 1 次提交
  9. 09 2月, 2017 1 次提交
  10. 19 12月, 2016 8 次提交
  11. 02 11月, 2016 3 次提交
  12. 22 10月, 2016 1 次提交
  13. 07 6月, 2016 1 次提交
    • J
      drm/omapdrm: Implement gamma_lut atomic crtc properties · 492a426a
      Jyri Sarha 提交于
      Implement gamma_lut atomic crtc properties, set crtc gamma size to 256
      for all crtcs and use drm_atomic_helper_legacy_gamma_set() as
      gamma_set func. The tv-out crtc has 1024 element gamma table (with
      10bit precision) in HW, but current Xorg server does not accept
      anything else but 256 elements so that is used for all CRTCs. The dss
      dispc API converts table of any length for HW and uses linear
      interpolation in the process. The default gamma table is restored
      if gamma_lut property is deleted.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      492a426a
  14. 05 3月, 2016 1 次提交
  15. 03 3月, 2016 8 次提交