Skip to content
  1. Jan 05, 2015
    • Rob Clark's avatar
      drm: add atomic properties · 88a48e29
      Rob Clark authored
      
      
      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: default avatarRob 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: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      88a48e29
  2. Dec 19, 2014
  3. Dec 18, 2014
  4. Dec 17, 2014
  5. Dec 16, 2014
    • Ben Widawsky's avatar
      drm/cache: Use wbinvd helpers · b04d4a38
      Ben Widawsky authored
      
      
      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: default avatarBen Widawsky <ben@bwidawsk.net>
      Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v1)
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      b04d4a38
  6. Dec 15, 2014
  7. Dec 13, 2014
    • Dave Airlie's avatar
      Merge branch 'drm-sti-next-2014-12-11' of... · 731d7545
      Dave Airlie authored
      Merge branch 'drm-sti-next-2014-12-11' of http://git.linaro.org/people/benjamin.gaignard/kernel into drm-next
      
      This series of patches fix various issues in STI drm driver.
      Now HDMI i2c adapter could be selected in device tree
      and plug detection doesn't use gpio anymore.
      I also had fix some signal timing problems after testing the driver
      on more hardware.
      The remaining patches attemps to simplify the code and prepare
      the next evolutions like DVO and auxiliary CRTC support
      
      * 'drm-sti-next-2014-12-11' of http://git.linaro.org/people/benjamin.gaignard/kernel:
        drm: sti: correctly cleanup CRTC and planes
        drm: sti: add HQVDP plane
        drm: sti: add cursor plane
        drm: sti: enable auxiliary CRTC
        drm: sti: fix delay in VTG programming
        drm: sti: prepare sti_tvout to support auxiliary crtc
        drm: sti: use drm_crtc_vblank_{on/off} instead of drm_vblank_{on/off}
        drm: sti: fix hdmi avi infoframe
        drm: sti: remove event lock while disabling vblank
        drm: sti: simplify gdp code
        drm: sti: clear all mixer control
        drm: sti: remove gpio for HDMI hot plug detection
        drm: sti: allow to change hdmi ddc i2c adapter
      731d7545
  8. Dec 12, 2014
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2014-12-11' of... · b59f7822
      Dave Airlie authored
      Merge tag 'drm-intel-next-fixes-2014-12-11' of git://anongit.freedesktop.org/drm-intel into drm-next
      
      Here's a batch of i915 fixes for 3.19.
      
      * tag 'drm-intel-next-fixes-2014-12-11' of git://anongit.freedesktop.org/drm-intel:
        drm/i915: save/restore GMBUS freq across suspend/resume on gen4
        drm/i915: Remove '& 0xffff' from the mask given to WA_REG()
        drm/i915: Invert the mask and val arguments in wa_add() and WA_REG()
        drm/i915/bdw: Fix the write setting up the WIZ hashing mode
        drm/i915: Don't complain about stolen conflicts on gen3
        drm/i915: resume MST after reading back hw state
        drm/i915: Handle inaccurate time conversion issues
        drm/i915: compute wait_ioctl timeout correctly
        drm/i915: don't always do full mode sets when infoframes are enabled
      b59f7822
  9. Dec 11, 2014
  10. Dec 10, 2014