intel: Add support for GPU reset status query ioctl
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 10 Sep 2012 11:15:02 +0000 (14:15 +0300)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 8 Nov 2013 03:14:31 +0000 (19:14 -0800)
commit6335e1d28c422050024bcf4100c4fb3a5bac2afb
treecd81da3155a27842f4f7d0996ce36b323dfdadc0
parentdad3c6b9791920f2bda1193d76f260827c4cd3f1
intel: Add support for GPU reset status query ioctl

I would have just used the drmIoctl interface directly in Mesa, but the
ioctl needs some data from the drm_intel_context that is not exposed
outside libdrm.

v2: Update based on Mika's kernel work.

v3: Fix compile failures from last-minute typos.  Sigh.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/i915_drm.h
intel/intel_bufmgr.h
intel/intel_bufmgr_gem.c