]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit48da64a8bf2e00952fcd3ad108babae5e003a03d
treecf45fa7be36c5d59826bb5a4af16ce2bd4485f45
parenta9dcf84b14ef4e9a609910367576995e6f32f3dc
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