drm/i915: Simplify watermark/init_clock_gating setup
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 7 Jan 2014 14:14:10 +0000 (16:14 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 7 Jan 2014 21:21:40 +0000 (22:21 +0100)
commitbd602544712edf72a128bc81d02f0a8051cb1372
treedda2c10c9b43c8cb248defb211ef23add211b433
parent03dce881292f43b269f1f8acca69df2c4568ee5c
drm/i915: Simplify watermark/init_clock_gating setup

Avoid duplicating the same piece of code several times by separating
the watemark vfunc setup from the init_clock_gating vfunc setup on PCH
platforms.

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