Tell users to grab i915_error_state on gpu hangs

Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2011-04-08 12:37:35 +02:00
parent 59ed6b05db
commit fb40bf2b33
1 changed files with 1 additions and 0 deletions

View File

@ -221,6 +221,7 @@ void intel_batch_submit(ScrnInfoPtr scrn)
/* The GPU has hung and unlikely to recover by this point. */
if (!once) {
xf86DrvMsg(scrn->scrnIndex, X_ERROR, "Detected a hung GPU, disabling acceleration.\n");
xf86DrvMsg(scrn->scrnIndex, X_ERROR, "When reporting this, please include i915_error_state from debugfs and the full dmesg.\n");
uxa_set_force_fallback(screenInfo.screens[scrn->scrnIndex], TRUE);
intel->force_fallback = TRUE;
once = 1;