]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Generate a hang error code
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 4 Feb 2014 12:18:55 +0000 (12:18 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Feb 2014 16:17:10 +0000 (17:17 +0100)
commitd24a46cfcc6ec0aef9e9bfdd21a6db92b85125d5
tree0ec93e2cd7eb2e95e5bb8e3c1e6c4d86beca95a4
parentbc751d44e6ee0c59dc5efb6a5c11433d7eaa1870
drm/i915: Generate a hang error code

We get a large number of bugs which have a, "hey I have that too"
because they see a GPU hang in dmesg. While two machines of the same
model having a GPU hang is indeed a coincidence, it is far from enough
evidence to suggest they are the same.

In order to reduce this effect, and hopefully get people to file new bug
reports, clearly the error message itself has been insufficient (see ref
at the bottom for a new bug report with this characteristic).

The algorithm is purposely pretty naive. I don't think we need much in
order to avoid the problem I am trying to solve, and keeping it naive
gives us some ability to make a decent test case.

Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
References: https://bugs.freedesktop.org/show_bug.cgi?id=73276
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gpu_error.c