[Intel-gfx] [PATCH] drm/i915: Add aub debug support for kernel
Liu Aleaxander
aleaxander at gmail.com
Sun Nov 7 16:04:40 CET 2010
On Sun, Nov 7, 2010 at 10:23 PM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Sun, 7 Nov 2010 22:08:00 +0800, Liu Aleaxander <aleaxander at gmail.com> wrote:
>> I wrote a new patch(no post-processing yet).
>> Chris, is this what you want?
>
> Yes, that looks good.
Thanks:)
>The compiler should be able to do its job and reduce
> that code nicely.
>
> I think you want, in addition, a pair of I915_READ_NOTRACE and
> I915_WRITE_NOTRACE for the GPIO registers. I would suggest converting the
> calls that you don't want traced as a separate patch to keep the commits
> clean.
Sure.
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?
Thanks.
--
regards
Yuanhan Liu
More information about the Intel-gfx
mailing list