1. 29 Jul, 2014 1 commit
  2. 25 Jul, 2014 1 commit
  3. 24 Jul, 2014 4 commits
    • Chris Wilson's avatar
      drm/i915: Allow overlapping userptr objects · ec8b0dd5
      Chris Wilson authored
      Whilst I strongly advise against doing so for the implicit coherency
      issues between the multiple buffer objects accessing the same backing
      store, it nevertheless is a valid use case, akin to mmaping the same
      file multiple times.
      
      The reason why we forbade it earlier was that our use of the interval
      tree for fast invalidation upon vma changes excluded overlapping
      objects. So in the case where the user wishes to create such pairs of
      overlapping objects, we degrade the range invalidation to walkin the
      linear list of objects associated with the mm.
      
      A situation where overlapping objects could arise is the lax implementation
      of MIT-SHM Pixmaps in the xserver. A second situation is where the user
      wishes to have different access modes to a region of memory (e.g. access
      through a read-only userptr buffer and through a normal userptr buffer).
      
      v2: Compile for mmu-notifiers after tweaking
      v3: Rename is_linear/has_linear
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: "Li, Victor Y" <victor.y.li@intel.com>
      Cc: "Kelley, Sean V" <sean.v.kelley@intel.com>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
      Cc: "Gong, Zhipeng" <zhipeng.gong@intel.com>
      Cc: Akash Goel <akash.goel@intel.com>
      Cc: "Volkin, Bradley D" <bradley.d.volkin@intel.com>
      Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      ec8b0dd5
    • Daniel Vetter's avatar
      drm/i915: Ditch UMS config option · 03dae59c
      Daniel Vetter authored
      Let's march ahead with the deprecation plan laid out in
      
      commit b30324ad
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Wed Nov 13 22:11:25 2013 +0100
      
          drm/i915: Deprecated UMS support
      
      Thus far no regression report yet, so the transparent fallback plan
      seems to pan out.
      
      Cc: Dave Airlie <airlied@gmail.com>
      Cc: David Herrmann <dh.herrmann@gmail.com>
      Suggested-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
      Acked-by: default avatarDave Airlie <airlied@gmail.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      03dae59c
    • Dave Airlie's avatar
      drm/i915: fix initial fbdev setup warnings · e05444be
      Dave Airlie authored
      This chunk was no longer required from what I can see, or
      at least it is doing the wrong thing, as I confused
      intel_connector->encoder and connector->encoder. Drop it
      for now, to remove the warnings at bootup.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      e05444be
    • Dave Airlie's avatar
      drm/i915: don't suspend gt until after we disable irqs and display (v2) · 09b64267
      Dave Airlie authored
      When I moved the irq disable down to after display disable,
      I didn't realise the gt suspend also required irqs off, so move it
      down as well.
      
      Fixes WARNs seen at suspend/resume time.
      
      v2: moved the rps flush down as well.
      Tested-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      09b64267
  4. 23 Jul, 2014 34 commits