search for: videobuf

Displaying 13 results from an estimated 13 matches for "videobuf".

Did you mean: videobuf2
2018 Apr 20
2
[PATCH] kvmalloc: always use vmalloc if CONFIG_DEBUG_VM
...ces which do handle sgs of vmalloced addresses, such as the nx crypto driver: if (is_vmalloc_addr(start_addr)) sg_addr = page_to_phys(vmalloc_to_page(start_addr)) + offset_in_page(sg_addr); else sg_addr = __pa(sg_addr); and videobuf: pg = vmalloc_to_page(virt); if (NULL == pg) goto err; BUG_ON(page_to_pfn(pg) >= (1 << (32 - PAGE_SHIFT))); sg_set_page(&sglist[i], pg, PAGE_SIZE, 0); Yes, there's the potential that we have t...
2018 Apr 20
2
[PATCH] kvmalloc: always use vmalloc if CONFIG_DEBUG_VM
...ces which do handle sgs of vmalloced addresses, such as the nx crypto driver: if (is_vmalloc_addr(start_addr)) sg_addr = page_to_phys(vmalloc_to_page(start_addr)) + offset_in_page(sg_addr); else sg_addr = __pa(sg_addr); and videobuf: pg = vmalloc_to_page(virt); if (NULL == pg) goto err; BUG_ON(page_to_pfn(pg) >= (1 << (32 - PAGE_SHIFT))); sg_set_page(&sglist[i], pg, PAGE_SIZE, 0); Yes, there's the potential that we have t...
2018 Apr 20
0
[PATCH] kvmalloc: always use vmalloc if CONFIG_DEBUG_VM
...resses, such as the nx crypto driver: > > if (is_vmalloc_addr(start_addr)) > sg_addr = page_to_phys(vmalloc_to_page(start_addr)) > + offset_in_page(sg_addr); > else > sg_addr = __pa(sg_addr); > > and videobuf: > > pg = vmalloc_to_page(virt); > if (NULL == pg) > goto err; > BUG_ON(page_to_pfn(pg) >= (1 << (32 - PAGE_SHIFT))); > sg_set_page(&sglist[i], pg, PAGE_SIZE, 0); > > Yes,...
2019 Sep 02
1
[PATCH] drm/virtio: Use vmalloc for command buffer allocations.
...> > > > if (is_vmalloc_addr(vbuf->data_buf)) ... > > > > > > > > needed here I gues? > > > > > > > > > > kvfree() handles vmalloc/kmalloc/kvmalloc internally by doing that check. > > > > Ok. > > > > > - videobuf_vmalloc_to_sg in drivers/media/v4l2-core/videobuf-dma-sg.c, > > > assumes contiguous array of scatterlist and that the buffer being converted > > > is page aligned > > > > Well, vmalloc memory _is_ page aligned. > > True, but this function gets called for all po...
2018 Apr 18
7
[PATCH] net: don't use kvzalloc for DMA memory
On Wed, 18 Apr 2018, David Miller wrote: > From: Mikulas Patocka <mpatocka at redhat.com> > Date: Wed, 18 Apr 2018 12:44:25 -0400 (EDT) > > > The structure net_device is followed by arbitrary driver-specific data > > (accessible with the function netdev_priv). And for virtio-net, these > > driver-specific data must be in DMA memory. > > And we are saying
2012 Jul 23
1
missing V4L or related dependencies
Hello all, I am trying to install Epiphan's ( http://www.epiphan.com/ ) VGA2USB device on a Centos 6 machine and when I am trying to compile and install the driver for it I get the following errors: WARNING: /lib/modules/2.6.32-279.2.1.el6.x86_64/extra/vga2usb.ko needs unknown symbol videobuf_streamoff WARNING: /lib/modules/2.6.32-279.2.1.el6.x86_64/extra/vga2usb.ko needs unknown symbol videobuf_poll_stream WARNING: /lib/modules/2.6.32-279.2.1.el6.x86_64/extra/vga2usb.ko needs unknown symbol video_ioctl2 WARNING: /lib/modules/2.6.32-279.2.1.el6.x86_64/extra/vga2usb.ko needs unknown symb...
2009 Nov 05
0
[PATCH] Add VirtIO Frame Buffer Support
...e ram out, no junk to the user */ > + adr = (unsigned long) mem; > + while (size > 0) { > + SetPageReserved(vmalloc_to_page((void *)adr)); Where is the bit cleared? > + adr += PAGE_SIZE; > + size -= PAGE_SIZE; > + } > + > + return mem; > +} > + > +/* This is videobuf_vmalloc_to_sg() from videobuf-dma-sg.c > + I modified it to take an extra sg entry for the cmd and work with non > + page-aligned pointers though */ > +static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int length, > + void *cmd, int cmd_len, int *sg_elem) > +{ &g...
2009 Nov 05
0
[PATCH] Add VirtIO Frame Buffer Support
...e ram out, no junk to the user */ > + adr = (unsigned long) mem; > + while (size > 0) { > + SetPageReserved(vmalloc_to_page((void *)adr)); Where is the bit cleared? > + adr += PAGE_SIZE; > + size -= PAGE_SIZE; > + } > + > + return mem; > +} > + > +/* This is videobuf_vmalloc_to_sg() from videobuf-dma-sg.c > + I modified it to take an extra sg entry for the cmd and work with non > + page-aligned pointers though */ > +static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int length, > + void *cmd, int cmd_len, int *sg_elem) > +{ &g...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...C QL4xxx RDMA DRIVER: Use fallthrough; QIB DRIVER: Use fallthrough; VMWARE PVRDMA DRIVER: Use fallthrough; SOFT-ROCE DRIVER (rxe): Use fallthrough; SOFT-IWARP DRIVER (siw): Use fallthrough; ISCSI EXTENSIONS FOR RDMA (ISER) INITIATOR: Use fallthrough; SIANO DVB DRIVER: Use fallthrough; VIDEOBUF2 FRAMEWORK: Use fallthrough; SAMSUNG S5C73M3 CAMERA DRIVER: Use fallthrough; SMIA AND SMIA++ IMAGE SENSOR DRIVER: Use fallthrough; BTTV VIDEO4LINUX DRIVER: Use fallthrough; CX88 VIDEO4LINUX DRIVER: Use fallthrough; MEDIA DRIVERS FOR DIGITAL DEVICES PCIE DEVICES: Use fallthrough; MOTION...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...C QL4xxx RDMA DRIVER: Use fallthrough; QIB DRIVER: Use fallthrough; VMWARE PVRDMA DRIVER: Use fallthrough; SOFT-ROCE DRIVER (rxe): Use fallthrough; SOFT-IWARP DRIVER (siw): Use fallthrough; ISCSI EXTENSIONS FOR RDMA (ISER) INITIATOR: Use fallthrough; SIANO DVB DRIVER: Use fallthrough; VIDEOBUF2 FRAMEWORK: Use fallthrough; SAMSUNG S5C73M3 CAMERA DRIVER: Use fallthrough; SMIA AND SMIA++ IMAGE SENSOR DRIVER: Use fallthrough; BTTV VIDEO4LINUX DRIVER: Use fallthrough; CX88 VIDEO4LINUX DRIVER: Use fallthrough; MEDIA DRIVERS FOR DIGITAL DEVICES PCIE DEVICES: Use fallthrough; MOTION...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...C QL4xxx RDMA DRIVER: Use fallthrough; QIB DRIVER: Use fallthrough; VMWARE PVRDMA DRIVER: Use fallthrough; SOFT-ROCE DRIVER (rxe): Use fallthrough; SOFT-IWARP DRIVER (siw): Use fallthrough; ISCSI EXTENSIONS FOR RDMA (ISER) INITIATOR: Use fallthrough; SIANO DVB DRIVER: Use fallthrough; VIDEOBUF2 FRAMEWORK: Use fallthrough; SAMSUNG S5C73M3 CAMERA DRIVER: Use fallthrough; SMIA AND SMIA++ IMAGE SENSOR DRIVER: Use fallthrough; BTTV VIDEO4LINUX DRIVER: Use fallthrough; CX88 VIDEO4LINUX DRIVER: Use fallthrough; MEDIA DRIVERS FOR DIGITAL DEVICES PCIE DEVICES: Use fallthrough; MOTION...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...C QL4xxx RDMA DRIVER: Use fallthrough; QIB DRIVER: Use fallthrough; VMWARE PVRDMA DRIVER: Use fallthrough; SOFT-ROCE DRIVER (rxe): Use fallthrough; SOFT-IWARP DRIVER (siw): Use fallthrough; ISCSI EXTENSIONS FOR RDMA (ISER) INITIATOR: Use fallthrough; SIANO DVB DRIVER: Use fallthrough; VIDEOBUF2 FRAMEWORK: Use fallthrough; SAMSUNG S5C73M3 CAMERA DRIVER: Use fallthrough; SMIA AND SMIA++ IMAGE SENSOR DRIVER: Use fallthrough; BTTV VIDEO4LINUX DRIVER: Use fallthrough; CX88 VIDEO4LINUX DRIVER: Use fallthrough; MEDIA DRIVERS FOR DIGITAL DEVICES PCIE DEVICES: Use fallthrough; MOTION...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...C QL4xxx RDMA DRIVER: Use fallthrough; QIB DRIVER: Use fallthrough; VMWARE PVRDMA DRIVER: Use fallthrough; SOFT-ROCE DRIVER (rxe): Use fallthrough; SOFT-IWARP DRIVER (siw): Use fallthrough; ISCSI EXTENSIONS FOR RDMA (ISER) INITIATOR: Use fallthrough; SIANO DVB DRIVER: Use fallthrough; VIDEOBUF2 FRAMEWORK: Use fallthrough; SAMSUNG S5C73M3 CAMERA DRIVER: Use fallthrough; SMIA AND SMIA++ IMAGE SENSOR DRIVER: Use fallthrough; BTTV VIDEO4LINUX DRIVER: Use fallthrough; CX88 VIDEO4LINUX DRIVER: Use fallthrough; MEDIA DRIVERS FOR DIGITAL DEVICES PCIE DEVICES: Use fallthrough; MOTION...