]> git.baikalelectronics.ru Git - kernel.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)
commitf4603d69a1a0e6bd908ad4057e984a3143499676
treef02f0ae2972d497e4c92f66afd79c5a27eaa7ce0
parent5089c17072fc79de0108dea8a662661d0db2f7c7
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