1. 18 3月, 2019 1 次提交
  2. 24 1月, 2019 1 次提交
  3. 10 1月, 2019 1 次提交
  4. 12 11月, 2018 1 次提交
    • L
      drm/omap: Move DISPC runtime PM handling to omapdrm · 24ec84e8
      Laurent Pinchart 提交于
      The internal encoders (DSI, HDMI4, HDMI5 and VENC) runtime PM handlers
      attempt to manage the runtime PM state of the connected DISPC, based on
      the rationale that the DISPC providing data to the encoders requires
      ensuring that the display is active whenever the encoders are active.
      
      While the DISPC provides data to the encoders, it doesn't as such
      constitute a resource that encoders require in order to be taken out
      of suspend, contrary to for instance a functional clock or a power
      supply. Encoders registers can be accessed without the DISPC being
      active, and while the encoders will not output any video stream without
      being fed by the DISPC, the DISPC PM state doesn't influence the
      encoders PM state.
      
      For this reason the DISPC PM state is better managed from the omapdrm
      driver, in the CRTC enable and disable operations. This allows the
      encoders PM state to be handled separately from the DISPC, and in
      particular at times when the DISPC may not be available (for instance at
      probe due to the DSS probe being deferred, or at remove time du to the
      DISPC being already removed).
      
      Fixes: edb715df ("drm/omap: dss: dsi: Move initialization code from bind to probe")
      Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Reviewed-by: NSebastian Reichel <sebastian.reichel@collabora.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181110111654.4387-5-laurent.pinchart@ideasonboard.com
      24ec84e8
  5. 03 9月, 2018 14 次提交
  6. 01 3月, 2018 4 次提交
  7. 19 12月, 2017 2 次提交
  8. 16 8月, 2017 1 次提交
  9. 08 8月, 2017 2 次提交
  10. 30 6月, 2017 2 次提交
  11. 02 6月, 2017 1 次提交
  12. 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
  13. 16 2月, 2017 1 次提交
  14. 09 2月, 2017 1 次提交
  15. 19 12月, 2016 4 次提交