[igt-dev] [PATCH i-g-t] drm-uapi/xe: Add check for access counter granularity
Kamil Konieczny
kamil.konieczny at linux.intel.com
Wed Nov 15 12:32:25 UTC 2023
Hi Francois,
On 2023-11-10 at 14:24:40 +0000, Francois Dugast wrote:
> Align with commit ("drm/xe/xe_exec_queue: Add check for access counter granularity")
>
> CC: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
- ^^
s/CC/Cc/
With or without that:
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> Signed-off-by: Francois Dugast <francois.dugast at intel.com>
> ---
> include/drm-uapi/xe_drm.h | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h
> index d6dd9a388..b316868de 100644
> --- a/include/drm-uapi/xe_drm.h
> +++ b/include/drm-uapi/xe_drm.h
> @@ -730,6 +730,20 @@ struct drm_xe_vm_bind {
> __u64 reserved[2];
> };
>
> +/* For use with XE_EXEC_QUEUE_SET_PROPERTY_ACC_GRANULARITY */
> +
> +/* Monitor 128KB contiguous region with 4K sub-granularity */
> +#define XE_ACC_GRANULARITY_128K 0
> +
> +/* Monitor 2MB contiguous region with 64KB sub-granularity */
> +#define XE_ACC_GRANULARITY_2M 1
> +
> +/* Monitor 16MB contiguous region with 512KB sub-granularity */
> +#define XE_ACC_GRANULARITY_16M 2
> +
> +/* Monitor 64MB contiguous region with 2M sub-granularity */
> +#define XE_ACC_GRANULARITY_64M 3
> +
> /**
> * struct drm_xe_exec_queue_set_property - exec queue set property
> *
> --
> 2.34.1
>
More information about the igt-dev
mailing list