1. 01 10月, 2013 38 次提交
  2. 26 9月, 2013 1 次提交
    • D
      drm/i915: Fix up usage of SHRINK_STOP · d3227046
      Daniel Vetter 提交于
      In
      
      commit 81e49f81
      Author: Glauber Costa <glommer@openvz.org>
      Date:   Wed Aug 28 10:18:13 2013 +1000
      
          i915: bail out earlier when shrinker cannot acquire mutex
      
      SHRINK_STOP was added to tell the core shrinker code to bail out and
      go to the next shrinker since the i915 shrinker couldn't acquire
      required locks. But the SHRINK_STOP return code was added to the
      ->count_objects callback and not the ->scan_objects callback as it
      should have been, resulting in tons of dmesg noise like
      
      shrink_slab: i915_gem_inactive_scan+0x0/0x9c negative objects to delete nr=-xxxxxxxxx
      
      Fix discusssed with Dave Chinner.
      
      References: http://www.spinics.net/lists/intel-gfx/msg33597.htmlReported-by: NKnut Petersen <Knut_Petersen@t-online.de>
      Cc: Knut Petersen <Knut_Petersen@t-online.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Glauber Costa <glommer@openvz.org>
      Cc: Glauber Costa <glommer@gmail.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Rik van Riel <riel@redhat.com>
      Cc: Mel Gorman <mgorman@suse.de>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Michal Hocko <mhocko@suse.cz>
      Acked-by: NDave Chinner <dchinner@redhat.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      d3227046
  3. 25 9月, 2013 1 次提交
    • D
      drm/i915: preserve pipe A quirk in i9xx_set_pipeconf · 67c72a12
      Daniel Vetter 提交于
      This regression has been introduced in
      
      commit 9f11a9e4
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Thu Jun 13 00:54:58 2013 +0200
      
          drm/i915: set up PIPECONF explicitly for i9xx/vlv platforms
      
      Ville brough up the idea that this is just the pipe A quirk gone
      wrong.
      
      Note that after resume the bios might or might not have enabled pipe A
      already.  We have a bit of magic to make sure that on resume we set up
      a decent mode for pipe A, but I fear if I just smash pipe A to always
      on we'd enable it in a bogus state and hang the hw. Hence the
      readback.
      
      v2: Clarify the logic a bit as suggested by Chris. Also amend the
      commit message to clarify why we don't unconditionally enable the
      pipe.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66462
      References: https://lkml.org/lkml/2013/8/26/238
      Cc: Meelis Roos <mroos@ut.ee>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      [danvet: Use |= instead of = as suggested by Chris.]
      Cc: stable@vger.kernel.org
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      67c72a12