drm/i915: WARN if !HAS_PC8 when enabling/disabling PC8
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 21 Nov 2013 15:47:15 +0000 (13:47 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Dec 2013 21:26:33 +0000 (22:26 +0100)
commit7125ecb8297a122d60b2b4be9490f49bfadff8e0
treec4008e789c5056ebabfeeac4cf0b1eb645ca0ddb
parent8212d56329b223a106d3d4f7dda95f571b1fa044
drm/i915: WARN if !HAS_PC8 when enabling/disabling PC8

We already have some checks and shouldn't be reaching these places on
!HAS_PC8 platforms, but add a WARN,  just in case.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c