1. 10 5月, 2017 1 次提交
    • D
      drm/vblank: Switch drm_driver->get_vblank_timestamp to return a bool · d673c02c
      Daniel Vetter 提交于
      There's really no reason for anything more:
      - Calling this while the crtc vblank stuff isn't set up is a driver
        bug. Those places alrready DRM_ERROR.
      - Calling this when the crtc is off is either a driver bug (calling
        drm_crtc_handle_vblank at the wrong time) or a core bug (for
        anything else). Again, we DRM_ERROR.
      - EINVAL is checked at higher levels already, and if we'd use struct
        drm_crtc * instead of (dev, pipe) it would be real obvious that
        those are again core bugs.
      
      The only valid failure mode is crap hardware that couldn't sample a
      useful timestamp, to ask the core to just grab a not-so-accurate
      timestamp. Bool is perfectly fine for that.
      
      v2: Also fix up the one caller, I lost that in the shuffling (Jani).
      
      v3: Fixup commit message (Neil).
      
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: freedreno@lists.freedesktop.org
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Reviewed-by: NNeil Armstrong <narmstrong@baylibre.com>
      Acked-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/20170509140329.24114-1-daniel.vetter@ffwll.ch
      d673c02c
  2. 07 4月, 2017 2 次提交
  3. 31 3月, 2017 1 次提交
  4. 30 3月, 2017 7 次提交
  5. 28 1月, 2017 3 次提交
  6. 09 1月, 2017 1 次提交
  7. 09 12月, 2016 1 次提交
  8. 09 11月, 2016 1 次提交
  9. 31 10月, 2016 1 次提交
  10. 26 10月, 2016 6 次提交
  11. 21 10月, 2016 1 次提交
  12. 02 9月, 2016 2 次提交
  13. 25 8月, 2016 3 次提交
  14. 23 8月, 2016 1 次提交
  15. 30 7月, 2016 1 次提交
  16. 08 7月, 2016 3 次提交
  17. 24 6月, 2016 3 次提交
  18. 18 6月, 2016 1 次提交
  19. 12 5月, 2016 1 次提交