drm/i915: Convert BUGs to WARNs in the video overlay code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 31 Mar 2015 07:37:22 +0000 (10:37 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 31 Mar 2015 13:32:24 +0000 (15:32 +0200)
commit77589f561bce75e6799e2bc05551486bbef3954a
treeacf4ba71e7fcf2a0dcdbf38026e059b19115f1bd
parent85250ddff7a603dfe0ec0503a9e6395f79424f61
drm/i915: Convert BUGs to WARNs in the video overlay code

BUG is bad, just use WARN.

Also drop one BUG(!overlay) since we'd oops anyway when dereferencing
it.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_overlay.c