drm/i915: WARN in case we're enabling the pipe and it's enabled
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 17 Jan 2014 15:51:13 +0000 (13:51 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Feb 2014 17:53:11 +0000 (18:53 +0100)
commit7ad25d488faf2622d5c1c3c04e42e8efe9539da0
tree4139bee5cf4daf303f9907ebd206f5c7cd8cfacd
parente1fdc473bb065888fec4535103d25483addd666f
drm/i915: WARN in case we're enabling the pipe and it's enabled

... and QUIRK_PIPEA_FORCE is not present.

I initially thought that case was impossible and just added a WARN on
it, but then I was told this case is possible due to
QUIRK_PIPEA_FORCE. So let's add a WARN that serves two purposes:
  - tell us in case we have done something wrong;
  - document the only case where we expect this.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
This page took 0.025117 seconds and 5 git commands to generate.