drm/i915: simplify pipe checking
authorEugeni Dodonov <eugeni.dodonov@intel.com>
Sun, 8 Jan 2012 01:40:34 +0000 (23:40 -0200)
committerKeith Packard <keithp@keithp.com>
Mon, 9 Jan 2012 22:17:25 +0000 (14:17 -0800)
commit5e5b7fa2ad84f7806d0c7f5af8e1440bc91b4ec7
treed84e789b76090510e58c31d0ef4d5194b0a37075
parenta05a586239c66a256ea1fbae859e742e4c91c8d9
drm/i915: simplify pipe checking

This is also handled by i915_reg.h, so just reuse this trick to reduce
universe entropy.

Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_suspend.c