[PATCH 2/2] drm/xe/uapi: Restore uapi for access counting
Matthew Brost
matthew.brost at intel.com
Wed Oct 2 15:03:46 UTC 2024
On Tue, Oct 01, 2024 at 04:02:55PM -0500, Lucas De Marchi wrote:
> On Tue, Oct 01, 2024 at 07:24:32PM GMT, apoorva.singh at intel.com wrote:
> > From: Brian Welty <brian.welty at intel.com>
> >
> > In order to enable access counters, this must be enabled in LRC for
> > the exec_queue. Add basic uAPI to set configuration of access counter
> > trigger threshold and granularity.
> >
> > When access counters are enabled and threshold is hit, the access
> > counter handler in xe_gt_pagefault.c will migrate the buffer to that
> > to that GT's local VRAM.
> >
> > Signed-off-by: Brian Welty <brian.welty at intel.com>
> > Signed-off-by: Apoorva Singh <apoorva.singh at intel.com>
>
>
> What do you mean by **Restore**? I'd expect a minimum amount of
> documentation explaining what this is and how a real
> userspace can be used it for implementing X, Y and Z. Link to userspace
> is also missing, and is required for uapi.
>
I was going to say do we have user space for this yet? I also suspect
getting this implementation right is going to part of the SVM work. I
personally rather leave this disabled until we get the SVM
implementation for this all worked out so we can freely change this if
required.
I can't imagine any user space is really demanding this to be enabled
yet.
Matt
> Lucas De Marchi
More information about the Intel-xe
mailing list