OSDN Git Service

drm/i915: Simplify CHV pipe A power well code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 29 Jun 2015 12:25:50 +0000 (15:25 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Jul 2015 08:42:36 +0000 (10:42 +0200)
commit8fcd5cd8b3cb29019937ab4b773da27a37e8e79b
tree4c9817c666285ded089957cd0406425f4bc93094
parent60bfe44f83c0a9d7293e821c4ddae3770d60acf9
drm/i915: Simplify CHV pipe A power well code

The pipe A power well is the "disp2d" well on CHV and pipe B and C wells
don't even exist. Thereforce we can remove the checks for pipe A vs.
others and just assume it's always pipe A.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_runtime_pm.c