[Intel-gfx] [PATCH] i915: Don't dereference HWS in /proc debug files when it isn't initialized.
Keith Packard
keithp at keithp.com
Sat Oct 18 03:19:43 CEST 2008
On Fri, 2008-10-17 at 15:41 -0700, Eric Anholt wrote:
> Signed-off-by: Eric Anholt <eric at anholt.net>
> ---
> drivers/gpu/drm/i915/i915_gem_proc.c | 15 ++++++++++++---
> 1 files changed, 12 insertions(+), 3 deletions(-)
Thanks, this looks good.
Do we need to protect other users of hw_status, like i915_batchbuffer,
i915_cmdbuffer, i915_get_gem_seqno, i915_getparam,
i915_driver_irq_handler and i915_wait_irq?
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081017/3ed358e8/attachment.sig>
More information about the Intel-gfx
mailing list