1. 26 5月, 2018 1 次提交
  2. 19 4月, 2018 1 次提交
  3. 19 3月, 2018 1 次提交
  4. 20 2月, 2018 1 次提交
  5. 28 10月, 2017 1 次提交
  6. 08 8月, 2017 1 次提交
  7. 30 6月, 2017 2 次提交
  8. 17 6月, 2017 1 次提交
  9. 16 6月, 2017 2 次提交
  10. 17 5月, 2017 1 次提交
  11. 08 4月, 2017 1 次提交
  12. 29 11月, 2016 1 次提交
    • R
      drm/msm: convert iova to 64b · 78babc16
      Rob Clark 提交于
      For a5xx the gpu is 64b so we need to change iova to 64b everywhere.  On
      the display side, iova is still 32b so it can ignore the upper bits.
      (Although all the armv8 devices have an iommu that can map 64b pa to 32b
      iova.)
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      78babc16
  13. 17 5月, 2016 1 次提交
  14. 02 5月, 2016 1 次提交
  15. 05 3月, 2016 1 次提交
  16. 03 3月, 2016 1 次提交
  17. 08 2月, 2016 1 次提交
  18. 11 12月, 2015 1 次提交
    • V
      drm: Pass 'name' to drm_crtc_init_with_planes() · f9882876
      Ville Syrjälä 提交于
      Done with coccinelle for the most part. However, it thinks '...' is
      part of the semantic patch, so I put an 'int DOTDOTDOT' placeholder
      in its place and got rid of it with sed afterwards.
      
      I didn't convert drm_crtc_init() since passing the varargs through
      would mean either cpp macros or va_list, and I figured we don't
      care about these legacy functions enough to warrant the extra pain.
      
      @@
      identifier dev, crtc, primary, cursor, funcs;
      @@
       int drm_crtc_init_with_planes(struct drm_device *dev,
                                     struct drm_crtc *crtc,
                                     struct drm_plane *primary, struct drm_plane *cursor,
                                     const struct drm_crtc_funcs *funcs
      +                              ,const char *name, int DOTDOTDOT
                                     )
      { ... }
      
      @@
      identifier dev, crtc, primary, cursor, funcs;
      @@
       int drm_crtc_init_with_planes(struct drm_device *dev,
                                     struct drm_crtc *crtc,
                                     struct drm_plane *primary, struct drm_plane *cursor,
                                     const struct drm_crtc_funcs *funcs
      +                              ,const char *name, int DOTDOTDOT
                                     );
      
      @@
      expression E1, E2, E3, E4, E5;
      @@
       drm_crtc_init_with_planes(E1, E2, E3, E4, E5
      +                          ,NULL
                                 )
      
      v2: Split crtc and plane changes apart
          Pass NULL for no-name instead of ""
          Leave drm_crtc_init() alone
      v3: Add ', or NULL...' to @name kernel doc (Jani)
          Annotate the function with __printf() attribute (Jani)
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1449670771-2751-1-git-send-email-ville.syrjala@linux.intel.com
      f9882876
  19. 16 8月, 2015 1 次提交
  20. 27 7月, 2015 1 次提交
  21. 12 6月, 2015 1 次提交
  22. 02 2月, 2015 2 次提交
    • R
      drm/msm: fix fallout of atomic dpms changes · 0b776d45
      Rob Clark 提交于
      As a result of atomic DPMS support, the various prepare/commit hooks get
      called in a way that msm dislikes.  We were expecting prepare/commit to
      bracket a modeset, which is no longer the case.  This was needed to hold
      various extra clk's (such as interface clks) on while we are touching
      registers, and in the case of mdp4 holding vblank enabled.
      
      The most straightforward way to deal with this, since we already have
      our own atomic_commit(), is to just handle prepare/commit internally to
      the driver (with some additional vfuncs for mdp4 vs mdp5), and switch
      everything over to instead use the new enable/disable hooks.  It doesn't
      really change too much, despite the code motion.  What used to be in the
      encoder/crtc dpms() fxns is split out into enable/disable.
      
      We should be able to drop our own enable-state tracking, as the atomic
      helpers should do this for us.  But keeping that for the short term for
      extra debugging as atomic stablizes.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      0b776d45
    • L
      drm/msm: Remove CRTC .mode_set and .mode_set_base helpers · 0da9c550
      Laurent Pinchart 提交于
      Only the legacy helpers use these entry points.  Don't populate them
      with transitional helpers, since that just makes things more confusing.
      Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      [robclark: reword commit msg]
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      0da9c550
  23. 19 12月, 2014 1 次提交
  24. 10 12月, 2014 1 次提交
  25. 27 11月, 2014 1 次提交
  26. 22 11月, 2014 1 次提交
  27. 17 11月, 2014 4 次提交
  28. 15 11月, 2014 1 次提交
  29. 10 9月, 2014 1 次提交
  30. 26 8月, 2014 1 次提交
    • R
      drm/msm/mdp4: request vblank during modeset · 119ecb7f
      Rob Clark 提交于
      This avoids a problem seen with weston (for example) where the display
      gets stuck in "black screen" if starting weston first thing after boot.
      Possibly mdp5 needs something similar.  The downstream android fbdev
      driver always requests DMA_E (or DMA_P) when display is active, rather
      than only enabling it on-demand as the drm driver does, which I believe
      has the same end result.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      119ecb7f
  31. 02 6月, 2014 1 次提交
  32. 25 4月, 2014 1 次提交
    • R
      drm/msm/mdp4: cure for the cursor blues (v2) · 7d8d9f67
      Rob Clark 提交于
      The hw cursor is relatively adept at triggering underflows, which
      manifest as a "blue flash" (since blue is configured as the underflow
      color).  Juggle a few things around to tighten up the timing for setting
      cursor registers in DONE irq.
      
      And most importantly, don't ever disable the hw cursor.  Instead flip it
      to a blank/empty cursor.  This seems far more reliable, as even simply
      clearing the cursor-enable bit (with no other updates in previous/
      following frames) can in some cases cause underflow.
      
      v1: original
      v2: add missing locking spotted by Micah
      
      Cc: Micah Richert <richert@braincorporation.com>
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      7d8d9f67
  33. 02 4月, 2014 2 次提交
    • M
      drm: Replace crtc fb with primary plane fb (v3) · f4510a27
      Matt Roper 提交于
      Now that CRTC's have a primary plane, there's no need to track the
      framebuffer in the CRTC.  Replace all references to the CRTC fb with the
      primary plane's fb.
      
      This patch was generated by the Coccinelle semantic patching tool using
      the following rules:
      
              @@ struct drm_crtc C; @@
              -   (C).fb
              +   C.primary->fb
      
              @@ struct drm_crtc *C; @@
              -   (C)->fb
              +   C->primary->fb
      
      v3: Generate patch via coccinelle.  Actual removal of crtc->fb has been
          moved to a subsequent patch.
      
      v2: Fixup several lingering crtc->fb instances that were missed in the
          first patch iteration.  [Rob Clark]
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NRob Clark <robdclark@gmail.com>
      f4510a27
    • M
      drm/msm: Switch to universal plane API's · 2d82d188
      Matt Roper 提交于
      Use drm_universal_plane_init() and drm_crtc_init_with_planes() rather
      than the legacy drm_plane_init() / drm_crtc_init().  This will ensure
      that the proper primary plane is registered with the DRM (and eventually
      exposed to userspace in future patches).
      
      Cc: Rob Clark <robdclark@gmail.com>
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      2d82d188