Re: [RFC 04/11] drm/i915/pmu: Expose a PMU interface for perf queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Tvrtko Ursulin (2017-09-11 16:25:52)
> +       case I915_PMU_RC6_RESIDENCY:
> +               val = intel_rc6_residency_ns(i915,
> +                                            IS_VALLEYVIEW(i915) ?
> +                                            VLV_GT_RENDER_RC6 :
> +                                            GEN6_GT_GFX_RC6);
> +               break;
> +       case I915_PMU_RC6p_RESIDENCY:
> +               if (!IS_VALLEYVIEW(i915))

HAS_RC6p and HAS_RC6pp?
> +                       val = intel_rc6_residency_ns(i915, GEN6_GT_GFX_RC6p);
> +               break;
> +       case I915_PMU_RC6pp_RESIDENCY:
> +               if (!IS_VALLEYVIEW(i915))
> +                       val = intel_rc6_residency_ns(i915, GEN6_GT_GFX_RC6pp);
> +               break;
> +       }
> +
> +       return val;
> +}
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux