drm/i915: Populate mem_freq in init_gt_powerwave()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Aug 2014 11:42:44 +0000 (14:42 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:04:49 +0000 (11:04 +0200)
commit2bb25c17bbe032eecaffa401dbc21809a3f8e44a
tree36ea5ee0388abed1e3c355908fc54e99d3f6e3a4
parentb98971271bf4c4566db2133ad0a36e4f24819fbe
drm/i915: Populate mem_freq in init_gt_powerwave()

init_clock_gating() is too late to read out the mem_freq. We already
want to print out the GPU MHz numbers before it's called. Move the
mem_freq setup to init_gt_powersave().

v2: Also kill the CHV_CZ_CLOCK_FREQ_MODE_* defines

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c