drm/i915: Add HAS_PCH_LPT_LP() macro
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Aug 2015 20:55:59 +0000 (23:55 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 2 Sep 2015 14:51:12 +0000 (16:51 +0200)
commitc2699524d666bd606a2de0aa68691c984efb1fec
tree0c90fb177cf6285836f9a712bf3e54f53da3021a
parentd9dc34f1a1e9649f6e1e3709f6177f7883ce75ce
drm/i915: Add HAS_PCH_LPT_LP() macro

Make LPT:LP checks look neater by wrapping the details in a
new HAS_PCH_LPT_LP() macro.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_pm.c