intel: Add support for GPU reset status query ioctl

Graphics / Mesa 3D Graphics Library / libdrm - Ian Romanick [intel.com] - 7 November 2013 21:14 UTC

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.

6335e1d intel: Add support for GPU reset status query ioctl
include/drm/i915_drm.h | 17 +++++++++++++++++
intel/intel_bufmgr.h | 5 +++++
intel/intel_bufmgr_gem.c | 34 ++++++++++++++++++++++++++++++++++
3 files changed, 56 insertions(+)

Upstream: cgit.freedesktop.org


  • Share