[Intel-gfx] [PATCH 14/15] drm/i915: Mechanism to forward clock monotonic raw time in perf samples
Chris Wilson
chris at chris-wilson.co.uk
Fri Nov 4 09:42:30 UTC 2016
On Fri, Nov 04, 2016 at 03:00:43PM +0530, sourab.gupta at intel.com wrote:
> diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
> index 06c7b55..0dc2384 100644
> --- a/drivers/gpu/drm/i915/i915_drv.c
> +++ b/drivers/gpu/drm/i915/i915_drv.c
> @@ -1088,6 +1088,8 @@ static int i915_driver_init_hw(struct drm_i915_private *dev_priv)
> DRM_DEBUG_DRIVER("can't enable MSI");
> }
>
> + i915_perf_init_late(dev_priv);
> +
> return 0;
Just a quick one:
Create i915_driver_init_late() to capture the new init phase you want to add.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list