Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion config-libkrunfw_aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -2183,7 +2183,11 @@ CONFIG_MFD_VEXPRESS_SYSREG=y
# CONFIG_MEDIA_CEC_SUPPORT is not set
# end of CEC support

# CONFIG_MEDIA_SUPPORT is not set
CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_SUPPORT_FILTER=y
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_VIDEO_DEV=y
CONFIG_MEDIA_VIRTIO=y

#
# Graphics support
Expand Down
6 changes: 5 additions & 1 deletion config-libkrunfw_x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -1689,7 +1689,11 @@ CONFIG_BCMA_POSSIBLE=y
# CONFIG_MEDIA_CEC_SUPPORT is not set
# end of CEC support

# CONFIG_MEDIA_SUPPORT is not set
CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_SUPPORT_FILTER=y
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_VIDEO_DEV=y
CONFIG_MEDIA_VIRTIO=y

#
# Graphics support
Expand Down
34 changes: 34 additions & 0 deletions patches/0031-videodev2-fix-uapi-header-for-timespec.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
From git@z Thu Jan 1 00:00:00 1970
Subject: [PATCH] media: videodev2: ensure struct timespec for headers_check
From: Dorinda Bassey <dbassey@redhat.com>
Date: Mon, 25 Aug 2026 12:00:00 +0200

On aarch64, headers_check fails because struct timespec is not available
from sys/time.h in the test environment. Add linux/time_types.h and use
__kernel_old_timespec as a fallback to ensure the type is defined.

Signed-off-by: Dorinda Bassey <dbassey@redhat.com>
---
include/uapi/linux/videodev2.h | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 7123c6a4d..9876543210 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -60,6 +60,13 @@

#ifndef __KERNEL__
#include <sys/time.h>
+#include <linux/time_types.h>
+/* Fallback for headers_check on aarch64 where sys/time.h may not provide timespec */
+#ifndef _STRUCT_TIMESPEC
+#ifndef __timespec_defined
+#define timespec __kernel_old_timespec
+#endif
+#endif
#endif
#include <linux/compiler.h>
#include <linux/ioctl.h>
--
2.55.0.737.g08866a6d13-goog
Loading
Loading