i915: Don't dereference HWS in /proc debug files when it isn't initialized.
authorEric Anholt <eric@anholt.net>
Fri, 17 Oct 2008 21:41:03 +0000 (14:41 -0700)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Oct 2008 03:42:27 +0000 (13:42 +1000)
commita2d44cca4fc9ae04ed2c9fc2ef16b6989eeae218
tree61bc40b8367f8afefc1217f3b10fb1abf8500dc3
parent053d7f244a8739d96d316c77a97cd063804c8e35
i915: Don't dereference HWS in /proc debug files when it isn't initialized.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem_proc.c