[Intel-gfx] [PATCH 2/2] drm/i915/tracepoints: Remove DRM_I915_LOW_LEVEL_TRACEPOINTS Kconfig option

Chris Wilson chris at chris-wilson.co.uk
Mon Jun 25 20:02:08 UTC 2018


Quoting Tvrtko Ursulin (2018-06-25 18:25:46)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> This Kconfig option was added to protect the implementation specific
> internals from user expectations but so far it was mostly hassle.
> 
> Remove it so it is possible to debug request submission on any kernel
> anywhere.

Our job is not to let bugs into the wild ;)
 
> This adds around 4k to default i915.ko build but should have no
> performance effects due inactive tracepoints being no-op-ed out and out-
> of-line.
> 
> Users should remember tracepoints which are close to low level i915
> implementation details are subject to change and cannot be guaranteed.

That's the caveat that I feel needs fleshed out. Burying it had the
advantage of making it quite clear that you had to opt in and pick up
the pieces when it inevitably breaks.

What is wanted and what can we reasonable provide? If the tracepoints
needs to undergo major change before the next LTS, let alone for the
life of that LTS...

If we know what is wanted can we define that better in terms of
dma_fence and leave lowlevel for debugging (or think of how we achieve
the same with generic bpf? kprobes)? Hmm, I wonder how far we can push
that.
-Chris


More information about the Intel-gfx mailing list