drm/i915: drop a few really redundant WARNs in hsw mode_set
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 28 May 2013 14:28:55 +0000 (16:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 31 May 2013 18:54:06 +0000 (20:54 +0200)
commit64eae94134d2fd0a0f1cf2162fb91e46da4ec75f
tree1a7f5aff0e628f6406d87d7f3f1e987aee62bb67
parentc0b0341121f2e2b329e60986aee766e4d1d80fde
drm/i915: drop a few really redundant WARNs in hsw mode_set

- Correct cpu->pch display matching is already check when we detect
  the PCH type at driver load.
- Plane/pipe state is already checked both when a) enabling, b)
  disabling and in c) the modeset state checker. No need to go
  overboard and also check it in in between a) and b).

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