]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commitb8c3af766b7f9350c581bb44e6ffaaabc8c1c198
treef02f0ae2972d497e4c92f66afd79c5a27eaa7ce0
parenta43adf0747ecde0d211f29adcbebf067f92e9cbb
drm/i915: WARN if the fence pin_count is invalid

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>
drivers/gpu/drm/i915/i915_drv.h