]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f387bce8607898b475735c9a034906072e853be
tree7fba1383b9b83b4ac21457856a59827970b5527f
parent8d753b72edd453ab75250277cf3b760909a98f23
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