drm/i915/ringbuffer: Only print an error on the second attempt to reset head
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 5 Dec 2010 20:42:33 +0000 (20:42 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 5 Dec 2010 23:01:05 +0000 (23:01 +0000)
commit6fd0d56e3bc1abfb237b8824261b613e21e77bc8
tree7fba1383b9b83b4ac21457856a59827970b5527f
parentbbf0c6b3620b3872929ef7d3c392ce436889110f
drm/i915/ringbuffer: Only print an error on the second attempt to reset head

There's not much we can do here but hope for the best. However the first
failure happens quite frequently and if often remedied by the second
attempt to reset HEAD. So only print the error if that attempt also
fails.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=19802
Reported-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
drivers/gpu/drm/i915/intel_ringbuffer.c