diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-10-19 15:51:06 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-10-19 21:52:52 +0200 |
commit | 74ce6b6c63262defba91c4d790b3f91074793c0d (patch) | |
tree | 2c93efea0fcf247339dfc6337a2d2d76869a2e08 /drivers/media/video/cx25821/cx25821-medusa-video.c | |
parent | c31407a3672aaebb4acddf90944a114fa5c8af7b (diff) |
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 <chris@chris-wilson.co.uk>
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 <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/media/video/cx25821/cx25821-medusa-video.c')
0 files changed, 0 insertions, 0 deletions