1. 16 Oct, 2013 4 commits
    • Shuang He's avatar
      drm/i915: Expose latest 200 CRC value for pipe through debugfs · 8bf1e9f1
      Shuang He authored
      There are several points in the display pipeline where CRCs can be
      computed on the bits flowing there. For instance, it's usually possible
      to compute the CRCs of the primary plane, the sprite plane or the CRCs
      of the bits after the panel fitter (collectively called pipe CRCs).
      
      v2: Quite a bit of rework here and there (Damien)
      Signed-off-by: default avatarShuang He <shuang.he@intel.com>
      Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
      [danvet: Fix intermediate compile file reported by Wu Fengguang's
      kernel builder.]
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      8bf1e9f1
    • Ben Widawsky's avatar
      drm/i915: Replace has_bsd/blt/vebox with a mask · 73ae478c
      Ben Widawsky authored
      I've sent this patch several times for various reasons. It essentially
      cleans up a lot of code where we need to do something per ring, and want
      to query whether or not the ring exists on that hardware.
      
      It has various uses coming up, but for now it shouldn't be too
      offensive.
      
      v2: Big conflict resolution on Damien's DEV_INFO_FOR_EACH stuff
      
      v3: Resolved vebox addition
      
      v4: Rebased after months of disuse. Also made failed ringbuffer init
      cleaner.
      
      v5: Remove the init cleaner from v4. There is a better way to do it.
      (Chris)
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      73ae478c
    • Ben Widawsky's avatar
      drm/i915: cleanup context fini · 71b76d00
      Ben Widawsky authored
      I had this lying around from he original PPGTT series, and thought we
      might try to get it in by itself.
      
      With the introduction of context refcounting we never explicitly
      ref/unref the backing object. As such, the previous fix was a bit wonky.
      
      Aside from fixing the above, this patch also puts us in good shape for
      an upcoming patch which allows a failure to occur in between
      context_init and the first do_switch.
      
      CC: Mika Kuoppala <mika.kuoppala@linux.intel.com>
      Signed-off-by: default avatarBen Widawsky <ben@bwidawsk.net>
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      71b76d00
    • Ben Widawsky's avatar
      drm/i915: Do a fuller init after reset · 3d57e5bd
      Ben Widawsky authored
      I had this lying around from he original PPGTT series, and thought we
      might try to get it in by itself.
      
      It's convenient to just call i915_gem_init_hw at reset because we'll be
      adding new things to that function, and having just one function to call
      instead of reimplementing it in two places is nice.
      
      In order to accommodate we cleanup ringbuffers in order to bring them
      back up cleanly. Optionally, we could also teardown/re initialize the
      default context but this was causing some problems on reset which I
      wasn't able to fully debug, and is unnecessary with the previous context
      init/enable split.
      
      This essentially reverts:
      commit 8e88a2bd
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Tue Jun 19 18:40:00 2012 +0200
      
          drm/i915: don't call modeset_init_hw in i915_reset
      
      It seems to work for me on ILK now. Perhaps it's due to:
      commit 8a5c2ae7
      Author: Jesse Barnes <jbarnes@virtuousgeek.org>
      Date:   Thu Mar 28 13:57:19 2013 -0700
      
          drm/i915: fix ILK GPU reset for render
      Signed-off-by: default avatarBen Widawsky <ben@bwidawsk.net>
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      3d57e5bd
  2. 15 Oct, 2013 17 commits
  3. 14 Oct, 2013 8 commits
  4. 11 Oct, 2013 9 commits
  5. 10 Oct, 2013 2 commits