On Thu, Mar 16, 2017 at 11:44:08AM +0530, [email protected] wrote: > From: Sourab Gupta <[email protected]> > > This patch adds a new ctx getparam ioctl parameter, which can be used to > retrieve ctx unique id by userspace. > > This can be used by userspace to map the OA reports received in the > i915 perf samples with their associated ctx's (The OA reports have the > hw ctx ID information embedded for Gen8+). > Otherwise the userspace has no way of maintaining this association, > since it has the knowledge of only per-drm file specific ctx handles. > > Signed-off-by: Sourab Gupta <[email protected]> Reviewed-by: Chris Wilson <[email protected]> -Chris
-- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
