1. 02 2月, 2015 21 次提交
  2. 31 1月, 2015 1 次提交
    • A
      drm: msm: add missing dependencies on OF and COMMON_CLK · 40039904
      Arnd Bergmann 提交于
      The msm gpu drivers depend on both the DT mechanism and the
      common clk handling code, if they are not enabled, we get
      a number of build errors:
      
      In file included from drivers/gpu/drm/msm/hdmi/hdmi.h:27:0,
                       from drivers/gpu/drm/msm/hdmi/hdmi_bridge.c:18:
      drivers/gpu/drm/msm/msm_drv.h:45:24: fatal error: mach/board.h: No such file or directory
       #include <mach/board.h>
                              ^
      
      drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c:503:2: error: implicit declaration of function 'devm_clk_register' [-Werror=implicit-function-declaration]
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDave Airlie <airlied@gmail.com>
      40039904
  3. 28 1月, 2015 2 次提交
  4. 21 1月, 2015 1 次提交
  5. 19 12月, 2014 4 次提交
  6. 18 12月, 2014 2 次提交
    • D
      drm/atomic: Introduce state->obj backpointers · 07cc0ef6
      Daniel Vetter 提交于
      Useful since this way we can pass around just the state objects and
      will get ther real object, too.
      
      Specifically this allows us to again simplify the parameters for
      set_crtc_for_plane.
      
      v2: msm already has it's own specific plane_reset hook, don't forget
      that one!
      
      v3: Fixup kerneldoc, reported by 0-day builder.
      
      Cc: Rob Clark <robdclark@gmail.com>
      Reviewed-by: Rob Clark <robdclark@gmail.com> (v2)
      Tested-by: Rob Clark <robdclark@gmail.com> (v2)
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      07cc0ef6
    • D
      drm/atomic-helper: Again check modeset *before* plane states · b4274fbe
      Daniel Vetter 提交于
      This essentially reverts
      
      commit 934ce1c2
      Author: Rob Clark <robdclark@gmail.com>
      Date:   Wed Nov 19 16:41:33 2014 -0500
      
          drm/atomic: check mode_changed *after* atomic_check
      
      Depending upon the driver both orders (or maybe even interleaving) is
      required:
      - If ->atomic_check updates ->mode_changed then helper_check_modeset
        must be run afters.
      - If ->atomic_check depends upon accurate adjusted dotclock values for
        e.g. watermarks, then helper_check_modeset must be run first.
      
      The failure mode in the first case is usually a totally angry hw
      because the pixel format switching doesn't happen. The failure mode in
      the later case is usually nothing, since in most cases the old
      adjusted mode from the previous modeset wont be too far off to be a
      problem. So just underruns and perhaps even just suboptimal (from a
      power consumption) watermarks.
      
      Furthermore in the transitional helpers we only call ->atomic_check
      after the new modeset state has been fully set up (and hence
      computed).
      
      Given that asymmetry in expected failure modes I think it's safer to
      go back to the older order. So do that and give msm a special check
      function to compensate.
      
      Also update kerneldoc to explain this a bit.
      
      v2: Actually add the missing hunk Rob spotted.
      
      v3: Move msm_atomic_check into msm_atomic.c, requested by Rob.
      
      Cc: Rob Clark <robdclark@gmail.com>
      Reviewed-by: NRob Clark <robdclark@gmail.com>
      Tested-by: NRob Clark <robdclark@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      b4274fbe
  7. 17 12月, 2014 2 次提交
  8. 10 12月, 2014 1 次提交
  9. 27 11月, 2014 1 次提交
  10. 25 11月, 2014 1 次提交
  11. 22 11月, 2014 1 次提交
  12. 21 11月, 2014 3 次提交
    • R
      drm/msm/mdp5: dpms(OFF) cleanups · d6ac4a84
      Rob Clark 提交于
      When disabling the interface (INTF), the change doesn't latch until next
      vblank, so we need to wait for vblank.
      
      Also, to be pedantic, in the crtc, set all the mixer stages to unused.
      It shouldn't really matter, since at this point we have already disabled
      the INTF and waited for necessary vblank.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      d6ac4a84
    • 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