drm/i915: WARN if the fence pin_count is invalid
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 12 Jun 2013 10:29:47 +0000 (11:29 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Jun 2013 10:36:43 +0000 (12:36 +0200)
Stéphane Marchesin found a bug where the fences were not being restored,
and in particular the fence pin_count was incorrect. Had we had a
warning in place, this bug would have come to light much earlier. Better
late than never?

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found