Quoting Umesh Nerlige Ramappa (2019-08-07 00:30:02) > The oa object manages the oa buffer and must be allocated when the user > intends to read performance counter snapshots. This can be achieved by > making the oa object part of the stream object which is allocated when a > stream is opened by the user. > > Attributes in the oa object that are gen-specific are moved to the perf > object so that they can be initialized on driver load. > > The split provides a better separation of the objects used in perf > implementation of i915 driver so that resources are allocated and > initialized only when needed. > > v2: Fix checkpatch warnings > v3: Addressed Lionel's review comment > v4: Rebase > v5: Fix rebase/merge issue with ratelimit_state_init > > Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@xxxxxxxxx> > Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@xxxxxxxxx> Pushed. Thanks, -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx