Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create makefile.yml #1

Closed
wants to merge 65 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
772927e
BACKPORT: FROMLIST: virtio_video: Add the Virtio Video V4L2 driver
hikalium Dec 4, 2020
9ed1841
CHROMIUM: drivers: media: virtio: Fix typo in try_fmt callback
keiichiw Mar 17, 2020
9f396ad
CHROMIUM: drivers: media: virtio: Add NULL check in init_ctrls callbacks
keiichiw Mar 17, 2020
128aefb
CHROMIUM: drivers: media: virtio: Make try_fmt handle coded formats c…
keiichiw Mar 17, 2020
720ef21
CHROMIUM: drivers: media: virtio: Support V4L2_SEL_TGT_COMPOSE
keiichiw Mar 17, 2020
19c7f69
CHROMIUM: drivers: media: virtio: Handle returned empty CAPTURE buffe…
keiichiw Mar 17, 2020
50d7d2a
FROMLIST: drivers: media: virtio: Support virtio objects in virtio-vi…
keiichiw Mar 25, 2020
e5085d6
FIXUP: BACKPORT: FROMLIST: virtio_video: Add the Virtio Video V4L2 dr…
Apr 7, 2020
0fecd7f
CHROMIUM: drivers: media: virtio: Fix bug of re-registration of uuid
keiichiw Mar 26, 2020
b891d63
CHROMIUM: drivers: media: virtio: Make RESOURCE_DESTROY_ALL synchronous
keiichiw Mar 17, 2020
b0a097f
FIXUP: BACKPORT: FROMLIST: virtio_video: Add the Virtio Video V4L2 dr…
May 24, 2020
00b835d
FIXUP: BACKPORT: FROMLIST: virtio_video: Add the Virtio Video V4L2 dr…
Jun 2, 2020
3d54f01
CHROMIUM: drivers: media: virtio: handle selection
Jun 19, 2020
bd0c8e6
CHROMIUM: virtio: Update virtgpu buffer sharing API
Gnurou Jun 14, 2021
aeb2dd4
CHROMIUM: driver: media: virtio: Update state in V4L2_DEC_CMD_START
Sep 15, 2020
0ec11e9
FIXUP: CHROMIUM: virtio: Update virtgpu buffer sharing API
Sep 14, 2020
6e077ac
CHROMIUM: driver: media: virtio: Fix memory leaks
Oct 15, 2020
60722f1
CHROMIUM: drivers: media: virtio: fix dma-buf leak
Oct 19, 2020
be9f610
CHROMIUM: driver: media: virtio: Fix memory leaks
Oct 22, 2020
c00e5ca
CHROMIUM: driver: media: virtio: Add force keyframe control.
Dec 16, 2020
ec5c9c2
CHROMIUM: driver: media: virtio: Fix race
Nov 11, 2020
f51bbab
CHROMIUM: drivers: media: virtio: propagate virtio errors
Dec 1, 2020
2653e0b
CHROMIUM: virtio_video_enc: Use reasonable max for V4L2_CID_MPEG_VIDE…
Nov 6, 2020
6c1f585
CHROMIUM: drivers: media: virtio: synchronize events and release
Feb 9, 2021
0d43670
CHROMIUM: drivers: media: virtio: fix setup error handling
Feb 10, 2021
5698fe7
CHROMIUM: drivers: media: virtio: update stale resource offset
Feb 16, 2021
14fc3a4
CHROMIUM: virtio_video_enc: Remove unused drain complete function.
May 7, 2021
6bb8074
CHROMIUM: virtio_video_enc: Lock stream mutex when draining.
Apr 30, 2021
fc4e72c
Revert "CHROMIUM: virtio_video_enc: Lock stream mutex when draining."
May 16, 2021
7a5b387
Reland "CHROMIUM: virtio_video_enc: Lock stream mutex when draining."
Apr 30, 2021
960861b
CHROMIUM: driver: media: virtio: Don't query bitrate for decoder.
Jun 8, 2021
267fa23
CHROMIUM: drivers: media: virtio: set dma_mask
Jul 13, 2021
cdd43f6
CHROMIUM: driver: media: virtio: Add V4L2_CID_MPEG_VIDEO_BITRATE_MODE.
Jun 7, 2021
dba1cd1
CHROMIUM: driver: media: virtio: Add V4L2_CID_MPEG_VIDEO_BITRATE_PEAK.
Jun 8, 2021
29c3d42
Align with CROS' v5.10-arcvm
Gnurou Oct 11, 2021
422103f
CHROMIUM: driver: media: virtio: Support prepending SPS/PPS to IDR.
Jul 29, 2021
50d561a
CHROMIUM: devices: media: virtio: add missing cpu_to_le32
Gnurou Jul 9, 2021
f0aeffd
CHROMIUM: drivers: media: virtio: add missing num_entries
Gnurou Jul 9, 2021
92c2acb
CHROMIUM: drivers: media: virtio: fix reported V4L2 planes layout
Gnurou Jul 12, 2021
731bc1c
CHROMIUM: devices: media: virtio: set the plane layout when creating …
Gnurou Jun 22, 2021
2c24f88
Revert "CHROMIUM: drivers: media: virtio: fix reported V4L2 planes la…
Gnurou Nov 10, 2021
202ccd2
CHROMIUM: media: virtio-video: use virtio objects as the default buff…
Gnurou Dec 7, 2021
8663bdc
CHROMIUM: virtio: video: do not set DMA ops
Gnurou Dec 8, 2021
f2d3024
CHROMIUM: drivers: media: virtio: fix S_PARM and G_PARM invalid behavior
bgrzesik Nov 30, 2021
bbaea1c
CHROMIUM: drivers: media: virtio: fix ENUM_FRAMEINTERVALS null pointe…
bgrzesik Dec 15, 2021
efcaec6
CHROMIUM: drivers: media: virtio: disable EVENT_SOURCE_CHANGE for enc…
bgrzesik Dec 22, 2021
3a02319
CHROMIUM: drivers: media: virtio: allow EVENT_EOS subscription
bgrzesik Dec 22, 2021
c27b3c6
CHROMIUM: drivers: media: virtio: disable ENUM_FRAMEINTERVALS ioctl f…
bgrzesik Jan 3, 2022
ec3a878
CHROMIUM: drivers: media: virtio: fix reported V4L2 planes layout
Gnurou Dec 25, 2021
75b7be3
CHROMIUM: drivers: media: virtio: remove unneeded resource type
Gnurou Dec 4, 2021
6ffdd1b
CHROMIUM: drivers: media: virtio: extract get_params & set_params int…
bgrzesik Dec 28, 2021
442d4bf
CHROMIUM: drivers: media: virtio: use v4l2_m2m functions
semihalf-szpak-zyta Jan 14, 2022
d785f08
CHROMIUM: drivers: virtio: media: don't send send h264 controls when …
bgrzesik Jan 17, 2022
61b416a
CHROMIUM: drivers: media: virtio: use GET/SET_PARAMS_EXT
Gnurou Jul 9, 2021
936be2c
CHROMIUM: drivers: media: virtio: send EVENT_CTRL when CID_MIN_BUFFER…
bgrzesik Dec 22, 2021
381c2d7
CHROMIUM: media: virtio: return EINVAL if buffer type passed to S/G_F…
bgrzesik Jan 21, 2022
240319e
GRABBER -> VIDEO
Gnurou Jun 14, 2021
5a5a845
HACK: dma: do not crash if dma_ranges is not defined
Gnurou Jun 22, 2021
bf4b5d0
virtio-video: set a dummy DMA mask
Gnurou Jun 22, 2021
207b1f1
virtio-video: fix debug message
Gnurou Jun 22, 2021
6e0947e
CHROMIUM: drivers: media: virtio: expose device name as card type
Gnurou Jul 12, 2021
13f645b
arch: x86: add config supporting virtio-video
Gnurou Dec 4, 2021
607c0c8
virtio-video: stop querying level for non-H264 formats
Gnurou Dec 5, 2021
9781a26
media: virtio-video: always return a currently set format
Gnurou Dec 7, 2021
2a0c328
Create makefile.yml
stornoralle Feb 20, 2022
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
27 changes: 27 additions & 0 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Makefile CI

on:
push:
branches: [ virtio_video ]
pull_request:
branches: [ virtio_video ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: configure
run: ./configure

- name: Install dependencies
run: make

- name: Run check
run: make check

- name: Run distcheck
run: make distcheck
269 changes: 269 additions & 0 deletions arch/x86/configs/virtio_video_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,269 @@
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_AUDIT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_PREEMPT_VOLUNTARY=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_LOG_BUF_SHIFT=18
CONFIG_CGROUPS=y
CONFIG_CGROUP_SCHED=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CPUSETS=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set
CONFIG_PROFILING=y
CONFIG_SMP=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
CONFIG_MICROCODE_AMD=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_NUMA=y
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
# CONFIG_MTRR_SANITIZER is not set
CONFIG_EFI=y
CONFIG_EFI_STUB=y
CONFIG_EFI_MIXED=y
CONFIG_HZ_1000=y
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
CONFIG_HIBERNATION=y
CONFIG_PM_DEBUG=y
CONFIG_PM_TRACE_RTC=y
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_BGRT=y
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_IA32_EMULATION=y
CONFIG_EFI_VARS=y
CONFIG_KPROBES=y
CONFIG_JUMP_LABEL=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_BINFMT_MISC=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_XFRM_USER=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
CONFIG_IP_MROUTE=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
CONFIG_SYN_COOKIES=y
# CONFIG_INET_DIAG is not set
CONFIG_TCP_CONG_ADVANCED=y
# CONFIG_TCP_CONG_BIC is not set
# CONFIG_TCP_CONG_WESTWOOD is not set
# CONFIG_TCP_CONG_HTCP is not set
CONFIG_TCP_MD5SIG=y
CONFIG_INET6_AH=y
CONFIG_INET6_ESP=y
CONFIG_NETLABEL=y
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_ADVANCED is not set
CONFIG_NF_CONNTRACK=y
CONFIG_NF_CONNTRACK_FTP=y
CONFIG_NF_CONNTRACK_IRC=y
CONFIG_NF_CONNTRACK_SIP=y
CONFIG_NF_CT_NETLINK=y
CONFIG_NF_NAT=y
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
CONFIG_NETFILTER_XT_TARGET_SECMARK=y
CONFIG_NETFILTER_XT_TARGET_TCPMSS=y
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
CONFIG_NETFILTER_XT_MATCH_POLICY=y
CONFIG_NETFILTER_XT_MATCH_STATE=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_MANGLE=y
CONFIG_IP6_NF_IPTABLES=y
CONFIG_IP6_NF_MATCH_IPV6HEADER=y
CONFIG_IP6_NF_FILTER=y
CONFIG_IP6_NF_TARGET_REJECT=y
CONFIG_IP6_NF_MANGLE=y
CONFIG_NET_SCHED=y
CONFIG_NET_EMATCH=y
CONFIG_NET_CLS_ACT=y
CONFIG_CFG80211=y
CONFIG_MAC80211=y
CONFIG_MAC80211_LEDS=y
CONFIG_RFKILL=y
CONFIG_PCI=y
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI=y
CONFIG_PCCARD=y
CONFIG_YENTA=y
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_DEBUG_DEVRES=y
CONFIG_CONNECTOR=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_SPI_ATTRS=y
# CONFIG_SCSI_LOWLEVEL is not set
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
CONFIG_ATA_PIIX=y
CONFIG_PATA_AMD=y
CONFIG_PATA_OLDPIIX=y
CONFIG_PATA_SCH=y
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_BLK_DEV_DM=y
CONFIG_DM_MIRROR=y
CONFIG_DM_ZERO=y
CONFIG_MACINTOSH_DRIVERS=y
CONFIG_MAC_EMUMOUSEBTN=y
CONFIG_NETDEVICES=y
CONFIG_NETCONSOLE=y
CONFIG_TIGON3=y
CONFIG_NET_TULIP=y
CONFIG_E100=y
CONFIG_E1000=y
CONFIG_E1000E=y
CONFIG_SKY2=y
CONFIG_FORCEDETH=y
CONFIG_8139TOO=y
CONFIG_R8169=y
CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_JOYSTICK=y
CONFIG_INPUT_TABLET=y
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_INPUT_MISC=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=32
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_INTEL is not set
# CONFIG_HW_RANDOM_AMD is not set
CONFIG_NVRAM=y
CONFIG_HPET=y
# CONFIG_HPET_MMAP is not set
CONFIG_I2C_I801=y
CONFIG_WATCHDOG=y
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
CONFIG_DRM=y
CONFIG_DRM_I915=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
CONFIG_FB_EFI=y
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_HRTIMER=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_HWDEP=y
CONFIG_HIDRAW=y
CONFIG_HID_GYRATION=y
CONFIG_LOGITECH_FF=y
CONFIG_HID_NTRIG=y
CONFIG_HID_PANTHERLORD=y
CONFIG_PANTHERLORD_FF=y
CONFIG_HID_PETALYNX=y
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SONY=y
CONFIG_HID_SUNPLUS=y
CONFIG_HID_TOPSEED=y
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y
CONFIG_USB=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
CONFIG_USB_MON=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
CONFIG_RTC_CLASS=y
# CONFIG_RTC_HCTOSYS is not set
CONFIG_DMADEVICES=y
CONFIG_EEEPC_LAPTOP=y
CONFIG_AMD_IOMMU=y
CONFIG_INTEL_IOMMU=y
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not set
CONFIG_QFMT_V2=y
CONFIG_AUTOFS4_FS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_PROC_KCORE=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_HUGETLBFS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_ROOT_NFS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_UTF8=y
CONFIG_SECURITY=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_DISABLE=y
CONFIG_PRINTK_TIME=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_STACK_USAGE=y
# CONFIG_SCHED_DEBUG is not set
CONFIG_SCHEDSTATS=y
CONFIG_BLK_DEV_IO_TRACE=y
CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
CONFIG_EARLY_PRINTK_DBGP=y
CONFIG_DEBUG_BOOT_PARAMS=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_BLK=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_VIRTIO_VIDEO=y
CONFIG_VIRTIO_NET=y
CONFIG_FUSE_FS=y
CONFIG_VIRTIO_FS=y
1 change: 1 addition & 0 deletions drivers/media/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ comment "Drivers filtered as selected at 'Filter media drivers'"
source "drivers/media/usb/Kconfig"
source "drivers/media/pci/Kconfig"
source "drivers/media/radio/Kconfig"
source "drivers/media/virtio/Kconfig"

# Common driver options
source "drivers/media/common/Kconfig"
Expand Down
2 changes: 2 additions & 0 deletions drivers/media/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ obj-y += rc/

obj-$(CONFIG_CEC_CORE) += cec/

obj-$(CONFIG_VIRTIO_VIDEO) += virtio/

#
# Finally, merge the drivers that require the core
#
Expand Down
14 changes: 14 additions & 0 deletions drivers/media/virtio/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# SPDX-License-Identifier: GPL-2.0+
# Video driver for virtio

config VIRTIO_VIDEO
tristate "Virtio video V4L2 driver"
depends on VIRTIO && VIDEO_DEV && VIDEO_V4L2
depends on VIRTIO_MENU
select VIDEOBUF2_DMA_SG
select VIDEOBUF2_DMA_CONTIG
select V4L2_MEM2MEM_DEV
select VIRTIO_DMA_SHARED_BUFFER
help
This is the virtual video driver for virtio.
Say Y or M.
12 changes: 12 additions & 0 deletions drivers/media/virtio/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SPDX-License-Identifier: GPL-2.0+

obj-$(CONFIG_VIRTIO_VIDEO) += virtio-video.o

virtio-video-objs := \
virtio_video_driver.o \
virtio_video_device.o \
virtio_video_vq.o \
virtio_video_dec.o \
virtio_video_enc.o \
virtio_video_caps.o \
virtio_video_helpers.o
Loading