On Sun, Nov 7, 2010 at 10:23 PM, Chris Wilson <ch...@chris-wilson.co.uk> wrote: > On Sun, 7 Nov 2010 22:08:00 +0800, Liu Aleaxander <aleaxan...@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 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx