[PATCH 2/2] drm/xe/uapi: Restore uapi for access counting

Lucas De Marchi lucas.demarchi at intel.com
Tue Oct 1 21:02:55 UTC 2024


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.

Lucas De Marchi


More information about the Intel-xe mailing list