Fix an oops in i915_gem_retire_requests()
authorKarsten Wiese <fzu@wemgehoertderstaat.de>
Mon, 23 Feb 2009 14:07:57 +0000 (15:07 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 Feb 2009 01:14:47 +0000 (17:14 -0800)
commit6c0594a306790ab03db345086c0c6c922a900bf6
treedc24b2838aabd8f6e52009c91f18720c2559f344
parentea5a42c22ee123dfc8fa34c421cf95d6235e54d9
Fix an oops in i915_gem_retire_requests()

dev_priv->hw_status_page can be NULL, if i915_gem_retire_requests()
is called from i915_gem_busy_ioctl().

Signed-off-by Karsten Wiese <fzu@wemgehoertderstaat.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/i915/i915_gem.c