1. 14 Aug, 2015 6 commits
  2. 06 Aug, 2015 1 commit
  3. 05 Aug, 2015 14 commits
  4. 31 Jul, 2015 1 commit
  5. 29 Jul, 2015 4 commits
  6. 28 Jul, 2015 2 commits
    • Chris Wilson's avatar
      drm/i915: Keep the mm.bound_list in rough LRU order · 6c246959
      Chris Wilson authored
      When we shrink our working sets, we want to avoid stealing pages from
      objects that likely to be reused in the near future. We first look at
      inactive objects before processing active objects - but what about a
      recently active object that is about to be used again. That object's
      position in the bound_list is ordered by the time of binding, not the
      time of last use, so the most recently used inactive object could well
      be at the head of the shrink list. To compensate, give the object a bump
      to MRU when it becomes inactive (thus transitioning to the end of the
      first pass in shrink lists). Conversely, bumping on inactive makes
      bumping on active useless, since when we do have to reap from the active
      working set, everything is going to become inactive very quickly and the
      order pretty much random - just hope for the best at that point, as once
      we start stalling on active objects, we can hope that the rebinding
      neatly orders vital objects.
      Suggested-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      [danvet: Resolve merge conflict.]
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      6c246959
    • Daniel Vetter's avatar
      drm/i915: Fake AGP is dead · 3b9a02e8
      Daniel Vetter authored
      Remove the leftovers, yay!
      
      AGP for i915 kms died long ago with
      
      commit 3bb6ce66
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Wed Nov 13 22:14:16 2013 +0100
      
          drm/i915: Kill legeacy AGP for gen3 kms
      
      and with ums now gone to there's really no users any more.
      
      Note that device_is_agp is only called when DRIVER_USE_AGP is set and
      since we've unconditionally cleared that since a while there are
      really no users left for i915_driver_device_is_agp.
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      3b9a02e8
  7. 27 Jul, 2015 10 commits
  8. 26 Jul, 2015 1 commit
  9. 24 Jul, 2015 1 commit
    • Dave Airlie's avatar
      Merge tag 'topic/connector-locking-2015-07-23' of... · dcd14dd9
      Dave Airlie authored
      Merge tag 'topic/connector-locking-2015-07-23' of git://anongit.freedesktop.org/drm-intel into drm-next
      
      connector hotplug locking cleanup and fixes to make it save against
      atomic. Note that because of depencies this is based on top of the
      drm-intel-next pull, so that one needs to go in before this one.
      
      I've also thrown in the mode_group removal on top since it's defunct,
      never worked really, no one seems to care and the code can be resurrected
      easily.
      
      * tag 'topic/connector-locking-2015-07-23' of git://anongit.freedesktop.org/drm-intel:
        drm: gc now dead mode_group code
        drm: Stop filtering according to mode_group in getresources
        drm: Roll out drm_for_each_{plane,crtc,encoder}
        drm/cma-helper: Fix locking in drm_fb_cma_debugfs_show
        drm: Roll out drm_for_each_connector more
        drm: Amend connector list locking rules
        drm/radeon: Take all modeset locks for DP MST hotplug
        drm/i915: Take all modeset locks for DP MST hotplug
        drm: Check locking in drm_for_each_fb
        drm/i915: Use drm_for_each_fb in i915_debugfs.c
        drm: Check locking in drm_for_each_connector
        drm/fbdev-helper: Grab mode_config.mutex in drm_fb_helper_single_add_all_connectors
        drm/probe-helper: Grab mode_config.mutex in poll_init/enable
        drm: Add modeset object iterators
        drm: Simplify drm_for_each_legacy_plane arguments
      dcd14dd9