From: Chris Wilson Date: Fri, 19 Oct 2012 14:51:06 +0000 (+0100) Subject: drm/i915: Initialize obj->pages before use by i915_gem_object_do_bit17_swizzle() X-Git-Tag: v3.7-rc3~45^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74ce6b6c63262defba91c4d790b3f91074793c0d;p=pandora-kernel.git drm/i915: Initialize obj->pages before use by i915_gem_object_do_bit17_swizzle() If we leave obj->pages set to NULL before attempting to deswizzle them, then an OOPS is well deserved. Fixes regression introduced in commit 9da3da660d8c19a54f6e93361d147509be3fff84 Author: Chris Wilson Date: Fri Jun 1 15:20:22 2012 +0100 drm/i915: Replace the array of pages with a scatterlist Reported-and-tested-by: Krzysztof Kolasa Signed-off-by: Chris Wilson Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed