1. 20 Feb, 2013 15 commits
  2. 19 Feb, 2013 23 commits
  3. 15 Feb, 2013 2 commits
    • Ben Widawsky's avatar
      drm/i915/ctx: Remove bad invariant · f73f7607
      Ben Widawsky authored
      It's not that the assertion is incorrect, but rather that we can call
      do_destroy early in loading, and we will falsely BUG().
      
      Since contexts have been in for a while now, and in the internal APIs
      are pretty stable, it should be fairly safe to remove this.
      
      v2: Remove unused dev_priv, and dev
      Signed-off-by: default avatarBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      f73f7607
    • Ben Widawsky's avatar
      drm/i915: Extract ring init from hw_init · 4fc7c971
      Ben Widawsky authored
      The ring initialization will differ a bit in upcoming generations, and
      this split will prepare the code for what's needed.
      
      This patch also fixes a bug introduced in:
      commit 99433931
      Author: Mika Kuoppala <mika.kuoppala@linux.intel.com>
      Date:   Tue Jan 22 14:12:17 2013 +0200
      
          drm/i915: use gem_set_seqno() on hardware init
      
      After doing the extraction, the bad error handling became obvious.  I
      acknowledge that this should be two patches, but it's a pretty
      small/trivial patch. If requested, I can certainly do the fix as a
      distinct patch.
      
      v2: Should be cleanup blt, not init blt on failure (Chris)
      
      v3: Forgot to git add on v2
      
      Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
      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>
      4fc7c971