[PATCH 1/1] drm/amdkfd: Bump KFD API version
Felix Kuehling
felix.kuehling at amd.com
Thu Mar 11 18:42:00 UTC 2021
The Thunk change that uses the updated capability bit is available here:
https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/commit/7cdd63475c36bb9f49bb960f90f9a8cdb7e80a21
ROCr will check the KFD API version in order to know whether the SRAM
ECC capability reported by the Thunk is reliable.
Regards,
Felix
On 2021-03-09 3:17 p.m., Deucher, Alexander wrote:
>
> [AMD Official Use Only - Internal Distribution Only]
>
>
> If you have a link to the userspace patches that use this, it would be
> good to include in the patch description.
>
> Alex
>
> ------------------------------------------------------------------------
> *From:* amd-gfx <amd-gfx-bounces at lists.freedesktop.org> on behalf of
> Felix Kuehling <Felix.Kuehling at amd.com>
> *Sent:* Tuesday, March 9, 2021 3:06 PM
> *To:* amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
> *Cc:* Keely, Sean <Sean.Keely at amd.com>
> *Subject:* [PATCH 1/1] drm/amdkfd: Bump KFD API version
> Indicate the availability reliable SRAM EDC state in the new bit
> in the device properties.
>
> Signed-off-by: Felix Kuehling <Felix.Kuehling at amd.com>
> ---
> include/uapi/linux/kfd_ioctl.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/kfd_ioctl.h
> b/include/uapi/linux/kfd_ioctl.h
> index 18449f746097..bf5e7d7846dd 100644
> --- a/include/uapi/linux/kfd_ioctl.h
> +++ b/include/uapi/linux/kfd_ioctl.h
> @@ -29,9 +29,10 @@
> /*
> * - 1.1 - initial version
> * - 1.3 - Add SMI events support
> + * - 1.4 - Indicate new SRAM EDC bit in device properties
> */
> #define KFD_IOCTL_MAJOR_VERSION 1
> -#define KFD_IOCTL_MINOR_VERSION 3
> +#define KFD_IOCTL_MINOR_VERSION 4
>
> struct kfd_ioctl_get_version_args {
> __u32 major_version; /* from KFD */
> --
> 2.30.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list