drm/i915: Add HAS_CORE_RING_FREQ macro
authorAkash Goel <akash.goel@intel.com>
Mon, 29 Jun 2015 09:20:23 +0000 (14:50 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Jul 2015 16:19:25 +0000 (18:19 +0200)
commit97d3308ab245c51ae237b3444afa7ae87aa9bcd4
tree939e08363d33f5be831ea60a418e48d8f61ce649
parent70e0bd74b9a22ecaa25793bf4f461cf84a1f348a
drm/i915: Add HAS_CORE_RING_FREQ macro

Added a new HAS_CORE_RING_FREQ macro, currently used in
gen6_update_ring_freq & i915_ring_freq_table debugfs function.
The programming & read of ring frequency table is needed for newer
GEN(>=6) platforms, except VLV/CHV.

Issue: VIZ-5144
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Akash Goel <akash.goel@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c