Message ID | 20250725-multicontext-v1-1-ea558291e101@ideasonboard.com |
---|---|
State | New |
Headers | show |
Series |
|
Related | show |
Hi Jacopo, Thanks for the patch! On Fri, 2025-07-25 at 12:33 +0200, Jacopo Mondi wrote: > Temporary update the media.h header from Linux kernel using the flags > introduced by: > https://patchwork.linuxtv.org/project/linux-media/patch/20250724-multicontext-mainline-2025-v2-21-c9b316773486@ideasonboard.com/ > > Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> > --- > include/linux/media.h | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/include/linux/media.h b/include/linux/media.h > index > 4a733b9beb27d6af3e1067dee5096f280be86eab..fd17e3a458165c91d63cd393047 > bdf796a45c801 100644 > --- a/include/linux/media.h > +++ b/include/linux/media.h > @@ -23,6 +23,9 @@ > #include <linux/ioctl.h> > #include <linux/types.h> > > +/* Media device flags. */ > +#define MEDIA_DEVICE_FL_CONTEXT 0x00000001 Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com> > + > struct media_device_info { > char driver[16]; > char model[32]; > @@ -31,7 +34,8 @@ struct media_device_info { > __u32 media_version; > __u32 hw_revision; > __u32 driver_version; > - __u32 reserved[31]; > + __u32 flags; > + __u32 reserved[30]; > }; > > /*
diff --git a/include/linux/media.h b/include/linux/media.h index 4a733b9beb27d6af3e1067dee5096f280be86eab..fd17e3a458165c91d63cd393047bdf796a45c801 100644 --- a/include/linux/media.h +++ b/include/linux/media.h @@ -23,6 +23,9 @@ #include <linux/ioctl.h> #include <linux/types.h> +/* Media device flags. */ +#define MEDIA_DEVICE_FL_CONTEXT 0x00000001 + struct media_device_info { char driver[16]; char model[32]; @@ -31,7 +34,8 @@ struct media_device_info { __u32 media_version; __u32 hw_revision; __u32 driver_version; - __u32 reserved[31]; + __u32 flags; + __u32 reserved[30]; }; /*
Temporary update the media.h header from Linux kernel using the flags introduced by: https://patchwork.linuxtv.org/project/linux-media/patch/20250724-multicontext-mainline-2025-v2-21-c9b316773486@ideasonboard.com/ Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> --- include/linux/media.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)