drm/i915: Correct obj->mm_list link to dev_priv->dev_priv->mm.inactive_list
authorXiong Zhang <xiong.y.zhang@intel.com>
Fri, 5 Jul 2013 10:53:29 +0000 (18:53 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 9 Jul 2013 14:31:48 +0000 (16:31 +0200)
commit067556084a0e412013af6b0250a3143ae5afde6d
tree616c39bb8d4c50f6d63d2c71a8ecee1a50037d17
parentbf51d5e2cda5d36d98e4b46ac7fca9461e512c41
drm/i915: Correct obj->mm_list link to dev_priv->dev_priv->mm.inactive_list

obj->mm_list link to dev_priv->mm.inactive_list/active_list
obj->global_list link to dev_priv->mm.unbound_list/bound_list

This regression has been introduced in

commit 93927ca52a55c23e0a6a305e7e9082e8411ac9fa
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Jan 10 18:03:00 2013 +0100

    drm/i915: Revert shrinker changes from "Track unbound pages"

Cc: stable@vger.kernel.org
Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
[danvet: Add regression notice.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c