diff options
author | Keith Packard <keithp@keithp.com> | 2008-06-05 13:47:41 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-06-06 13:00:46 -0700 |
commit | 118baeee1820102177f4f5bb48dd2a1e3d95d21e (patch) | |
tree | 5eb48db24e4498f86640e02315773c7408577da4 /linux-core | |
parent | d198e9b091e919a90895e551e48fb30d36a849ef (diff) |
[intel-gem] Dump error status on wait_request failure
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/i915_gem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/i915_gem.c b/linux-core/i915_gem.c index ad73f0a0..268411e8 100644 --- a/linux-core/i915_gem.c +++ b/linux-core/i915_gem.c @@ -319,6 +319,9 @@ i915_wait_request(struct drm_device *dev, uint32_t seqno) seqno)); i915_user_irq_off(dev_priv); } + if (ret) + DRM_ERROR ("%s returns %d (awaiting %d at %d)\n", + __func__, ret, seqno, i915_get_gem_seqno(dev)); /* Directly dispatch request retiring. While we have the work queue * to handle this, the waiter on a request often wants an associated |