Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 342a2c84 authored by Lionel Landwerlin's avatar Lionel Landwerlin
Browse files

drm/i915/perf: disable clk ratio reports on gen9



We're doing this on all Gen9 based platforms, let's just check the gen
rather than listing every single platforms.

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170918112124.29541-2-lionel.g.landwerlin@intel.com
parent b5891fb5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1850,8 +1850,7 @@ static int gen8_enable_metric_set(struct drm_i915_private *dev_priv,
	 * be read back from automatically triggered reports, as part of the
	 * RPT_ID field.
	 */
	if (IS_SKYLAKE(dev_priv) || IS_BROXTON(dev_priv) ||
	    IS_KABYLAKE(dev_priv) || IS_GEMINILAKE(dev_priv)) {
	if (IS_GEN9(dev_priv)) {
		I915_WRITE(GEN8_OA_DEBUG,
			   _MASKED_BIT_ENABLE(GEN9_OA_DEBUG_DISABLE_CLK_RATIO_REPORTS |
					      GEN9_OA_DEBUG_INCLUDE_CLK_RATIO));