[Intel-gfx] [PATCH] drm/i915: Add aub debug support for kernel
Chris Wilson
chris at chris-wilson.co.uk
Sun Nov 7 16:33:15 CET 2010
On Sun, 7 Nov 2010 23:04:40 +0800, Liu Aleaxander <aleaxander at gmail.com> wrote:
> But back to that issue again, how can we get the data of register
> read/write at the KMS phase. i195:* trace event does exist only when
> i915 module is loaded. Meanwhile, the KMS phase is passed by when you
> are trying to enable i915_reg_rw event.
>
> Chris, your ideas?
The hacky approach is a module parameter (i915.trace_load=1) that we parse
in i915_init() and enable the trace points manually. I remember this being
possible, once upon a time...
I'll keep digging to see how we can do it today.
The long term solution is to ask for a generic method to enable module
tracepoints upon module load.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list