1. 05 1月, 2015 1 次提交
    • R
      drm: add atomic properties · 88a48e29
      Rob Clark 提交于
      Once a driver is using atomic helpers for modeset, the next step is to
      switch over to atomic properties.  To do this, make sure that any
      modeset objects have their ->atomic_{get,set}_property() vfuncs suitably
      populated if they have custom properties (you did already remember to
      plug in atomic-helper func for the legacy ->set_property() vfuncs,
      right?), and then set DRIVER_ATOMIC bit in driver_features flag.
      
      A new cap is introduced, DRM_CLIENT_CAP_ATOMIC, for the purposes of
      shielding legacy userspace from atomic properties.  Mostly for the
      benefit of legacy DDX drivers that do silly things like getting/setting
      each property at startup (since some of the new atomic properties will
      be able to trigger modeset).
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      [danvet: Squash in fixup patch to check for DRM_MODE_PROP_ATOMIC
      instaed of the CAP define when filtering properties. Reported by
      Tvrtko Uruslin, acked by Rob.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      88a48e29
  2. 19 12月, 2014 4 次提交
  3. 18 12月, 2014 7 次提交
  4. 17 12月, 2014 1 次提交
  5. 16 12月, 2014 1 次提交
    • B
      drm/cache: Use wbinvd helpers · b04d4a38
      Ben Widawsky 提交于
      When the original drm code was written there were no centralized functions for
      doing a coordinated wbinvd across all CPUs. Now (since 2010) there are, so use
      them instead of rolling a new one.
      
      v2: On x86 UP systems the wbinvd_on_all_cpus() is defined as a static inline in
      smp.h. We must therefore include this file so we don't get compiler errors.
      This error was found by 0-DAY kernel test infrastructure. We only need this for
      x86.
      
      Cc: Intel GFX <intel-gfx@lists.freedesktop.org>
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v1)
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      b04d4a38
  6. 15 12月, 2014 1 次提交
  7. 11 12月, 2014 15 次提交
  8. 10 12月, 2014 10 次提交