1. 05 Jan, 2015 1 commit
    • 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. 18 Dec, 2014 4 commits
  3. 17 Dec, 2014 8 commits
  4. 16 Dec, 2014 2 commits
    • Thierry Reding's avatar
      drm/info: Remove unused code · dafffda0
      Thierry Reding authored
      Commit 28a62277 ("drm: Convert proc files to seq_file and introduce
      debugfs") converted /proc files to debugfs and in the process dropped
      the entry for the vblank statistics. Since that file has been gone for
      almost five years, there is no use to keep the code that provides the
      file's content around.
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      dafffda0
    • 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
  5. 15 Dec, 2014 1 commit
  6. 12 Dec, 2014 2 commits
    • 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
    • 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
  7. 11 Dec, 2014 18 commits
  8. 10 Dec, 2014 4 commits