<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform/vivid, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-05-31T13:43:12Z</updated>
<entry>
<title>media: vivid: use vfree() instead of kfree() for dev-&gt;bitmap_cap</title>
<updated>2019-05-31T13:43:12Z</updated>
<author>
<name>Alexander Potapenko</name>
</author>
<published>2019-04-04T14:56:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b82e0f501b390ea6c30629d026289e314a3eb342'/>
<id>urn:sha1:b82e0f501b390ea6c30629d026289e314a3eb342</id>
<content type='text'>
commit dad7e270ba712ba1c99cd2d91018af6044447a06 upstream.

syzkaller reported crashes on kfree() called from
vivid_vid_cap_s_selection(). This looks like a simple typo, as
dev-&gt;bitmap_cap is allocated with vzalloc() throughout the file.

Fixes: ef834f7836ec0 ("[media] vivid: add the video capture and output
parts")

Signed-off-by: Alexander Potapenko &lt;glider@google.com&gt;
Reported-by: Syzbot &lt;syzbot+6c0effb5877f6b0344e2@syzkaller.appspotmail.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>media: vivid: Add definitions for the 32-bit packed YUV formats</title>
<updated>2019-02-18T19:32:42Z</updated>
<author>
<name>Vivek Kasireddy</name>
</author>
<published>2019-02-08T03:18:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6377bb7d18cc2d5892aa8f8f67b3226331847ec3'/>
<id>urn:sha1:6377bb7d18cc2d5892aa8f8f67b3226331847ec3</id>
<content type='text'>
Enable vivid to make use of the following formats:
 V4L2_PIX_FMT_AYUV32
 V4L2_PIX_FMT_XYUV32
 V4L2_PIX_FMT_VUYA32
 V4L2_PIX_FMT_VUYX32

Signed-off-by: Vivek Kasireddy &lt;vivek.kasireddy@intel.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: vivid: two unregistration fixes</title>
<updated>2019-02-18T17:31:58Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2019-02-17T14:12:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=959bba134238452b0a2f5c7d107d7d05b358b41f'/>
<id>urn:sha1:959bba134238452b0a2f5c7d107d7d05b358b41f</id>
<content type='text'>
When the media device registration fails, don't call media_device_unregister
since the device was never actually registered.

When removing the module also call media_device_cleanup() to avoid a memory leak.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: vivid: add vertical down sampling to imagesize calc</title>
<updated>2019-02-07T17:24:03Z</updated>
<author>
<name>André Almeida</name>
</author>
<published>2019-02-04T17:37:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a442940534b77f3892dd629c12b0d01e65d4f314'/>
<id>urn:sha1:a442940534b77f3892dd629c12b0d01e65d4f314</id>
<content type='text'>
To correctly set the size of the image in a plane, it's needed
to divide the height of image by the vertical down sampling factor.
This was only happening in vivid_try_fmt_vid_cap(), but now it
applied in others sizeimage calculations as well.

Signed-off-by: André Almeida &lt;andre.almeida@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: vivid: fix vid_out_buf_prepare()</title>
<updated>2019-01-31T11:32:05Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2019-01-25T15:40:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=560c053deb94ff65b22a87f28e8e2fab5940555c'/>
<id>urn:sha1:560c053deb94ff65b22a87f28e8e2fab5940555c</id>
<content type='text'>
The wrong size check was performed for output formats like NV24 which
set vfmt-&gt;buffers to 1, but vfmt-&gt;planes is 2. It was incorrectly
checking the payload size for plane 1, which doesn't exist.

Note: vfmt-&gt;buffers refers to the number of per-plane-buffers that
should be allocated. vfmt-&gt;planes refers to the number of planes
that make up an image. vfmt-&gt;planes may be &gt; vfmt-&gt;buffers.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: vivid: add buf_out_validate callback</title>
<updated>2019-01-31T11:30:38Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2019-01-16T12:01:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1f2f510753becf607f9974a39a89ab1878f24b9d'/>
<id>urn:sha1:1f2f510753becf607f9974a39a89ab1878f24b9d</id>
<content type='text'>
Validate the field for an output buffer. This ensures that the
field is validated when the buffer is queued to a request, and
not when the request itself is queued, which is too late.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: vivid: do not implement VIDIOC_S_PARM for output streams</title>
<updated>2019-01-16T18:43:16Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2019-01-11T11:37:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f122df4a2ba6704ccf51f5caec583443514644f'/>
<id>urn:sha1:3f122df4a2ba6704ccf51f5caec583443514644f</id>
<content type='text'>
v4l2_compliance gave a warning for the S_PARM test for output streams:

warn: v4l2-test-formats.cpp(1235): S_PARM is supported for buftype 2, but not for ENUM_FRAMEINTERVALS

The reason is that vivid mapped s_parm for output streams to g_parm. But if
S_PARM doesn't actually change anything, then it shouldn't be enabled at all.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: vivid: take data_offset into account for video output</title>
<updated>2019-01-16T18:40:49Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2019-01-14T16:23:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=987303cc172a0899bc25b913d1315809a9fb8d17'/>
<id>urn:sha1:987303cc172a0899bc25b913d1315809a9fb8d17</id>
<content type='text'>
The video output sizeimage calculation did not take data_offset into account.

This can cause problems with video loopback or exporting output buffers for
use as dmabuf import buffers since the output buffer size is now too small.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: vivid: disable VB2_USERPTR if dma_contig was configured</title>
<updated>2019-01-16T18:36:42Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2019-01-14T13:50:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f7f1bff2d9896fc743e7e110e9ab288f5ad7cbf'/>
<id>urn:sha1:6f7f1bff2d9896fc743e7e110e9ab288f5ad7cbf</id>
<content type='text'>
It makes no sense to support the USERPTR memory model if the vivid instance was
configured as dma_contig. Disable it if this is the case.

Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'v4.20-rc7' into patchwork</title>
<updated>2018-12-17T15:34:24Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2018-12-17T15:34:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4bd257d884902b81493cf11531915009ab5787cf'/>
<id>urn:sha1:4bd257d884902b81493cf11531915009ab5787cf</id>
<content type='text'>
Linux 4.20-rc7

* tag 'v4.20-rc7': (403 commits)
  Linux 4.20-rc7
  scripts/spdxcheck.py: always open files in binary mode
  checkstack.pl: fix for aarch64
  userfaultfd: check VM_MAYWRITE was set after verifying the uffd is registered
  fs/iomap.c: get/put the page in iomap_page_create/release()
  hugetlbfs: call VM_BUG_ON_PAGE earlier in free_huge_page()
  memblock: annotate memblock_is_reserved() with __init_memblock
  psi: fix reference to kernel commandline enable
  arch/sh/include/asm/io.h: provide prototypes for PCI I/O mapping in asm/io.h
  mm/sparse: add common helper to mark all memblocks present
  mm: introduce common STRUCT_PAGE_MAX_SHIFT define
  alpha: fix hang caused by the bootmem removal
  XArray: Fix xa_alloc when id exceeds max
  drm/vmwgfx: Protect from excessive execbuf kernel memory allocations v3
  MAINTAINERS: Daniel for drm co-maintainer
  drm/amdgpu: drop fclk/gfxclk ratio setting
  IB/core: Fix oops in netdev_next_upper_dev_rcu()
  dm thin: bump target version
  drm/vmwgfx: remove redundant return ret statement
  drm/i915: Flush GPU relocs harder for gen3
  ...
</content>
</entry>
</feed>
