1. 02 4月, 2015 1 次提交
  2. 02 2月, 2015 2 次提交
    • S
      drm/msm/mdp: add common YUV information for MDP4/MDP5 · 7ca12718
      Stephane Viau 提交于
      Both MDP4 and MDP5 share some code as far as YUV support is
      concerned. This change adds this information and will be followed
      by the actual MDP4 and MDP5 YUV support patches.
      Signed-off-by: NStephane Viau <sviau@codeaurora.org>
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      7ca12718
    • 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
  3. 27 11月, 2014 1 次提交
  4. 21 11月, 2014 2 次提交
    • R
      drm/msm/mdp5: atomic · ed851963
      Rob Clark 提交于
      Convert mdp5 over to atomic helpers.  Extend/wrap drm_plane_state to
      track plane zpos and to keep track of the needed when applying the
      atomic update.  In mdp5's plane->atomic_check() we also need to check
      for updates which require SMP reallocation, in order to trigger full
      modeset.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      ed851963
    • R
      drm/msm: atomic fixes · 3e2f29e4
      Rob Clark 提交于
      Fixes for a couple little issues found in testing.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      3e2f29e4
  5. 17 11月, 2014 1 次提交
  6. 10 1月, 2014 3 次提交
    • R
      drm/msm: add mdp5/apq8x74 · 06c0dd96
      Rob Clark 提交于
      Add support for the new MDP5 display controller block.  The mapping
      between parts of the display controller and KMS is:
      
        plane   -> PIPE{RGBn,VIGn}             \
        crtc    -> LM (layer mixer)            |-> MDP "device"
        encoder -> INTF                        /
        connector -> HDMI/DSI/eDP/etc          --> other device(s)
      
      Unlike MDP4, it appears we can get by with a single encoder, rather
      than needing a different implementation for DTV, DSI, etc.  (Ie. the
      register interface is same, just different bases.)
      
      Also unlike MDP4, all the IRQs for other blocks (HDMI, DSI, etc) are
      routed through MDP.
      
      And finally, MDP5 has this "Shared Memory Pool" (called "SMP"), from
      which blocks need to be allocated to the active pipes based on fetch
      stride.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      06c0dd96
    • R
      drm/msm: move irq utils to mdp_kms · 9e0efa63
      Rob Clark 提交于
      We'll want basically the same thing for mdp5, so refactor it out so it
      can be shared.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      9e0efa63
    • R
      drm/msm: split out msm_kms.h · dd2da6e3
      Rob Clark 提交于
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      dd2da6e3