[PATCH 2/5] udmabuf: allow userspace to set map attributes

Gerd Hoffmann kraxel at redhat.com
Thu Nov 28 11:48:09 UTC 2019


  Hi,

> diff --git a/include/uapi/linux/udmabuf.h b/include/uapi/linux/udmabuf.h
> index 46b6532ed855..f90831f2bb0d 100644
> --- a/include/uapi/linux/udmabuf.h
> +++ b/include/uapi/linux/udmabuf.h
> @@ -6,6 +6,8 @@
>  #include <linux/ioctl.h>
>  
>  #define UDMABUF_FLAGS_CLOEXEC	0x01
> +#define UDMABUF_FLAGS_WC	0x02
> +#define UDMABUF_FLAGS_NONCACHED 0x04
>  
>  struct udmabuf_create {
>  	__u32 memfd;

This is a uapi change and should go to a separate patch,
clearly flagging that in $subject.

(new policy by airlied for the drm tree).

Otherwise the series looks good to me.

cheers,
  Gerd



More information about the dri-devel mailing list