]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Convert BUG_ON(!pll->active) and friends to a WARN
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 13 May 2012 19:16:12 +0000 (20:16 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 19 May 2012 21:09:50 +0000 (23:09 +0200)
commit0bbd327d89c779a961c8590ee89d34bc5232d2d7
treecf45fa7be36c5d59826bb5a4af16ce2bd4485f45
parentf3a15baf4f0b8d7bb164353bc81c0714ed0c9545
drm/i915: Convert BUG_ON(!pll->active) and friends to a WARN

Turn a fatal lockup into a merely blank display with lots of shouty
messages.

v2: Whilst in the area, convert the other BUG_ON into less fatal errors.
In particular, note that we may be called on a PCH platform not using
PLLs, such as Haswell, and so we do not always want to BUG_ON(!pll)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c