[Intel-xe] [PATCH 19/21] drm/xe/uapi: Drop OA_IOCTL_VERSION

Dixit, Ashutosh ashutosh.dixit at intel.com
Tue Sep 19 17:02:53 UTC 2023


On Tue, 19 Sep 2023 09:10:47 -0700, Ashutosh Dixit wrote:
>
> OA version was previously used to track which OA properties were introduced
> at which version. However OA version is an outlier in that a similar
> version is not used anywhere else in the kernel.

This is not strictly true. E.g. AMD's include/uapi/linux/kfd_ioctl.h
contains KFD_IOCTL_MAJOR_VERSION/KFD_IOCTL_MINOR_VERSION.

> For XE, we will track addition of new properties by means of
> xe_user_extension. Userland can either maintain a mapping of OA properties
> against the kernel version, or rely on return codes (e.g. ENOTSUPP) to
> "discover" OA properties.

But let's see if we need a version for OA or the kernel version itself is
sufficient.

>
> Suggested-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
> Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

Thanks.
--
Ashutosh


More information about the Intel-xe mailing list