On 07/16/2016 12:41 PM, Ricardo Ribalda Delgado wrote:
> Replace is_yuv with color_enc Which can be used by other
> color encodings such us HSV.
>
> This change should ease the review of the following patches.
>
> Signed-off-by: Ricardo Ribalda Delgado
> ---
> drivers/media/common/v4l2-tpg/v4l2
On 07/16/2016 12:41 PM, Ricardo Ribalda Delgado wrote:
> precalculate_color() had a optimization that avoided duplicated
> conversion for YUV formats. This optimization did not take into
> consideration YUV444, YUV555, YUV565 or limited range quantization.
>
> This patch keeps the optimization, bu
Hi Hans
On Mon, Jul 18, 2016 at 10:51 AM, Hans Verkuil wrote:
>> + int y, cb, cr;
>> + bool ycbbr_valid = false;
>
> I guess you mean ycbcr_valid?
Yes, I think the medical term is Saturday dyslexia :)
It is fixed on the next version.
Thanks!
--
To unsubscribe from this list: send the
From: Ankit Jindal
Currently, three types of mem regions are supported: UIO_MEM_PHYS,
UIO_MEM_LOGICAL and UIO_MEM_VIRTUAL. Among these UIO_MEM_PHYS helps
UIO driver export physcial memory to user space as non-cacheable
user memory. Typcially memory-mapped registers of a device are exported
to use
From: Jan Viktorin
The variable i contains a total number of resources (including
IORESOURCE_IRQ). However, we want the dmem_region_start to point
after the last resource of type IORESOURCE_MEM. The original behaviour
leads (very likely) to skipping several UIO mapping regions and makes
them usel
From: Ankit Jindal
This patch updates UIO documentation for new mem region
types UIO_MEM_PHYS_CACHE and UIO_MEM_DEVICE.
Signed-off-by: Ankit Jindal
Signed-off-by: Anup Patel
---
Documentation/DocBook/uio-howto.tmpl | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Docu
This patch extends uio_dmem_genirq driver to use recently
added memtypes as follows:
1. Use UIO_MEM_DEVICE memtype for MEM resources
2. Use UIO_MEM_PHYS_CACHE memtype for dynamic regions
when UIO DT node is marked as DMA coherent.
Signed-off-by: Anup Patel
---
drivers/uio/uio_dmem_genirq.c | 9 +
From: Ankit Jindal
This patch fixes the indentation of switch-case block in uio driver.
Signed-off-by: Ankit Jindal
Signed-off-by: Anup Patel
---
drivers/uio/uio.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index fb
On ARM64, the MMU supports special memory attributes for device
memory/registers. Due to this we have pgprot_device() provided
by asm/pgtable.h of arch/arm64.
On architectures that do not have special MMU attribute for device
memory/registers, the asm-generic/pgtable.h maps pgprot_device()
to pgpr
From: Jan Viktorin
The uio_dmem_genirq works in a similar ways as uio_pdrv_genirq now.
It accepts the of_id module parameter to specify UIO compatible
string as module parameter. There are few other module parameters
to specify number bits in DMA mask and sizes dynamic regions.
Following are th
From: Jan Viktorin
We can simplify handling of platform_get_irq into one place as it is
acceptable to see UIO_IRQ_NONE instead of a valid IRQ number. Some
devices don't have or don't need any interrupt to be handled. The
same change has been already done for uio_pdrv_genirq.
Signed-off-by: Jan V
The goal of this patchset is to improve UIO framework and UIO dmem
driver to allow cache-coherent DMA accesses from user-space.
This patchset is based on two previous patchsets:
1) [PATCH v5 0/6] UIO driver for APM X-Gene QMTM
(Refer, http://www.spinics.net/lists/devicetree/msg58244.html)
2) [PATC
[As it doesn't look like this message was delivered, I am sending it
again. I apologize if this is a duplicate for some of you.]
Hi Benjamin, Wolfram,
Sorry for being late to the party. I finally found some time to look at
the patches. Looks good overall, with just two minor comments:
On jeu., 2
On 12 July 2016 at 14:56, Bojan Prtvar wrote:
> Export DSR register through sysfs same as we did for the CID, CSD and OCR
> registers.
>
> Signed-off-by: Bojan Prtvar
> ---
> Documentation/mmc/mmc-dev-attrs.txt | 1 +
> drivers/mmc/core/mmc.c | 17 +
> 2 files chan
Em Sun, 17 Jul 2016 20:37:19 -0600
Jonathan Corbet escreveu:
> [Back home and trying to get going on stuff for real. I'll look at the
> issues listed in this message one at a time.]
>
> On Sun, 17 Jul 2016 10:01:54 -0300
> Mauro Carvalho Chehab wrote:
>
> > 1) We now need to include each head
On Thu 14-07-16 15:40:49, Ross Zwisler wrote:
> Remove the unused wrappers dax_fault() and dax_pmd_fault(). After this
> removal, rename __dax_fault() and __dax_pmd_fault() to dax_fault() and
> dax_pmd_fault() respectively, and update all callers.
>
> The dax_fault() and dax_pmd_fault() wrappers
Some hardware maps the Hue between 0 and 255 instead of 0-179. Support
this format with a new field hsv_enc.
Signed-off-by: Ricardo Ribalda Delgado
---
include/uapi/linux/videodev2.h | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/include/uapi/linux/vid
Simplifies handling of Gray formats.
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 26 +++--
drivers/media/platform/vivid/vivid-vid-common.c | 6 +++---
include/media/v4l2-tpg.h| 1 +
3 files changed, 24
Avoid duplicated data shifts when possible.
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
b/drivers/media/common/v4l2-tpg/v4
Describe the hsv_enc field and its use.
Signed-off-by: Ricardo Ribalda Delgado
---
Documentation/media/uapi/v4l/pixfmt-002.rst| 12 ++-
Documentation/media/uapi/v4l/pixfmt-003.rst| 14 ++--
Documentation/media/uapi/v4l/pixfmt-006.rst| 38 ++
Do
This patch adds support for V4L2_PIX_FMT_HSV24 and V4L2_PIX_FMT_HSV32.
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 93 +++--
drivers/media/platform/vivid/vivid-vid-common.c | 14
include/media/v4l2-tpg.h
precalculate_color() had a optimization that avoided duplicated
conversion for YUV formats. This optimization did not take into
consideration YUV444, YUV555, YUV565 or limited range quantization.
This patch keeps the optimization, but fixes the wrong handling.
Signed-off-by: Ricardo Ribalda Delga
Describe the HSV formats
Signed-off-by: Ricardo Ribalda Delgado
---
Documentation/media/uapi/v4l/hsv-formats.rst | 19 +++
Documentation/media/uapi/v4l/pixfmt-packed-hsv.rst | 158 +
Documentation/media/uapi/v4l/pixfmt.rst| 1 +
Documentation/media/uapi/v
Replace is_yuv with color_enc Which can be used by other
color encodings such us HSV.
This change should ease the review of the following patches.
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 49 +++
drivers/media/platform/vivi
r_y and g_u now also contain the H and V components on the HSV formats.
Rename the variables to reflect this.
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 209 +-
1 file changed, 105 insertions(+), 104 deletions(-)
diff --git
Support HSV encoding. Most of the logic is replicated from ycbcr_enc.
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 25 +
drivers/media/platform/vivid/vivid-core.h | 1 +
drivers/media/platform/vivid/vivid-ctrls.c
My initials were on the Changelog, but there was no link to my name.
Signed-off-by: Ricardo Ribalda Delgado
---
Documentation/media/uapi/v4l/v4l2.rst | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/media/uapi/v4l/v4l2.rst
b/Documentation/media/uapi/v4l/v4l2.rst
index 6d23b
HSV formats are extremely useful for image segmentation. This set of
patches makes v4l2 aware of this kind of formats.
Vivid changes have been divided to ease the reviewing process.
We are working on patches for Gstreamer and OpenCV that will make use
of these formats.
We still need to decide if
These formats store the color information of the image
in a geometrical representation. The colors are mapped into a
cylinder, where the angle is the HUE, the height is the VALUE
and the distance to the center is the SATURATION. This is a very
useful format for image segmentation algorithms.
Signe
Hi Ricardo,
Am Montag, den 18.07.2016, 14:42 +0200 schrieb Ricardo Ribalda Delgado:
> Avoid duplicated data shifts when possible.
>
> Signed-off-by: Ricardo Ribalda Delgado
> ---
> drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 13 +++--
> 1 file changed, 7 insertions(+), 6 deletions(-
Hi Philipp
On Mon, Jul 18, 2016 at 3:13 PM, Philipp Zabel wrote:
> Since the constant expressions are evaluated at compile time, you are
> not actually removing shifts. The code generated for precalculate_color
> by gcc 5.4 even grows by one asr instruction with this patch.
>
I dont think that I
Hi Ricardo,
Am Montag, den 18.07.2016, 15:21 +0200 schrieb Ricardo Ribalda Delgado:
> Hi Philipp
>
> On Mon, Jul 18, 2016 at 3:13 PM, Philipp Zabel wrote:
> > Since the constant expressions are evaluated at compile time, you are
> > not actually removing shifts. The code generated for precalcula
On Tue, 12 Jul 2016 12:05:59 +0200
"Jerome Marchand" wrote:
> Commit 795ae7a0de6b ("mm: scale kswapd watermarks in proportion to
> memory") properly added the description of the new knob to
> Documentation/sysctl/vm.txt, but forgot to add it to the list of files
> in /proc/sys/vm. Let's fix that.
Hi Benjamin, Wolfram,
Now that I have reviewed the i2c-i801 part of the implementation, I'm
wondering...
On Thu, 9 Jun 2016 16:53:48 +0200, Benjamin Tissoires wrote:
> +/**
> + * i2c_setup_smbus_host_notify - Allocate a new smbus_host_notify for the
> given
> + * I2C adapter.
> + * @adapter: th
On Jul 18 2016 or thereabouts, Jean Delvare wrote:
> [As it doesn't look like this message was delivered, I am sending it
> again. I apologize if this is a duplicate for some of you.]
>
> Hi Benjamin, Wolfram,
>
> Sorry for being late to the party. I finally found some time to look at
> the patch
On Jul 18 2016 or thereabouts, Jean Delvare wrote:
> Hi Benjamin, Wolfram,
>
> Now that I have reviewed the i2c-i801 part of the implementation, I'm
> wondering...
>
> On Thu, 9 Jun 2016 16:53:48 +0200, Benjamin Tissoires wrote:
> > +/**
> > + * i2c_setup_smbus_host_notify - Allocate a new smbus
On Mon, 18 Jul 2016 17:59:02 +0200, Benjamin Tissoires wrote:
> On Jul 18 2016 or thereabouts, Jean Delvare wrote:
> > You provide stubs for SMBus Host Notify support if CONFIG_I2C_SMBUS is
> > not selected. There are no such stubs for SMBus Alert support, for which
> > I assumed drivers would sele
Mahesh Khanwalkar wrote:
samples/watchdog/Makefile |3 +
samples/watchdog/watchdog-simple.c | 24 +
samples/watchdog/watchdog-test.c | 98 ++
Acked-by: Timur Tabi
However, watchdog-test.c has been updated in watchdog-next,
Convert the contents of fw-decoder-registers.txt to ReST and
add it to cx2341x.rst file.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx2341x.rst| 1003 ++--
.../video4linux/cx2341x/fw-decoder-regs.txt| 817
2 files ch
Convert the content to ReST and add it at the cx231xx.rst
file.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx2341x.rst | 151
Documentation/video4linux/cx2341x/fw-memory.txt | 139 --
2 files changed, 151 insertions(+
Add the contents of fw-dma.txt, converted to ReST, and
drop the old file.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx2341x.rst | 99
Documentation/video4linux/cx2341x/fw-dma.txt | 96 ---
2 files changed, 99 in
Convert its contents to ReST and add to cx2341x.rst.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx2341x.rst| 1241
.../video4linux/cx2341x/fw-encoder-api.txt | 709 ---
2 files changed, 1241 insertions(+), 709 deletions(
Convert bttv/Tuners to ReST and add it to the media/v4l-drivers book.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/index.rst | 1 +
Documentation/media/v4l-drivers/tuners.rst | 90 ++
2 files changed, 54 insertions(+), 37 deletions(-)
di
move the contents of fw-decoder-api.txt to cx2341x and
convert it to ReST file, adding it to media/v4l-drivers
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx2341x.rst| 564 +
Documentation/media/v4l-drivers/index.rst | 1 +
.../
Move the contents of this file to bttv.rst and saa7134.rst.
With that, we can finally remove Documentation/video4linux.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/bttv.rst| 8 ++
Documentation/media/v4l-drivers/saa7134.rst | 36 +
D
Convert it to ReST and add it to media/v4l-drivers book.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/bttv.rst | 156 ++
Documentation/media/v4l-drivers/index.rst | 1 +
2 files changed, 96 insertions(+), 61 deletions(-)
diff --git a/Do
I ended by adding twice each media header, because I saw some
missing stuff at the documents. It seems it was my mistake,
as everything seems to be there.
So, remove those extra stuff, to avoid duplicating the
documentation of the functions.
Signed-off-by: Mauro Carvalho Chehab
---
Documentatio
Finally, adds the content of README.vbi at cx2341x.rst after
its conversion to ReST format.
Now, add information about this chipset and its driver is
inside a single chapter at the media/v4l-drivers book.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx2341x.rst | 50
Import the contents of hauppauge-wintv-cx88-ir.txt, after
converted to ReST into cx88.rst file.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx88.rst | 62 ++
.../video4linux/cx88/hauppauge-wintv-cx88-ir.txt | 54 ---
..
Convert it to ReST and add its contents at this file.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx2341x.rst | 75
Documentation/video4linux/cx2341x/fw-calling.txt | 69 --
2 files changed, 75 insertions(+), 69 delet
The README.hm12 file describes the proprietary format used
by this driver for raw format, called HM12. Add its description
at the document, after converted to ReST.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx2341x.rst | 125 ++
Documentat
There are some information about missing/wrong documentation at
cx231xx datasheet. Add it to the cx88 chapter.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx88.rst | 42 ++
.../video4linux/not-in-cx2388x-datasheet.txt | 41
Add the contents of fw-upload.txt, after converting it to
ReST format.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx2341x.rst | 53 +
1 file changed, 53 insertions(+)
diff --git a/Documentation/media/v4l-drivers/cx2341x.rst
b/Documentat
Convert it to ReST format and add to cx2341x.rst file.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/v4l-drivers/cx2341x.rst | 675 +++
Documentation/video4linux/cx2341x/fw-osd-api.txt | 350
Documentation/video4linux/cx2341x/fw-upload.txt |
The titles at the media books were misleading, and some books
were not numbered.
Rename the kAPI book to better reflect its contents, be more
consistent on the initial rst file for each book and better
name them.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/index.rst
Moved sample code found in Documentation/ to samples/ but kept actual
documentation where it is, while updating any in-text references to the
moved code. Updated the Documentation/Makefile and samples/Makefile to
reflect the change. Built with CONFIG_SAMPLES=y in .config with no
build errors. The d
Mahesh Khanwalkar wrote:
Documentation/mic/mpssd/micctrl| 173 --
Documentation/mic/mpssd/mpss | 200 -
...
+++ b/samples/mpssd/.gitignore
@@ -0,0 +1,3 @@
+mpssd
+mpss
+micctrl
I think this is wrong.
--
Qualcom
Moved sample code found in Documentation/ to samples/ but kept actual
documentation where it is, while updating any in-text references to the
moved code. Updated the Documentation/Makefile and samples/Makefile to
reflect the change. Built with CONFIG_SAMPLES=y in .config with no
build errors. The d
On Mon, 2016-07-18 at 15:27 -0400, Mahesh Khanwalkar wrote:
> Moved sample code found in Documentation/ to samples/ but kept actual
> documentation where it is, while updating any in-text references to the
> moved code. Updated the Documentation/Makefile and samples/Makefile to
> reflect the change
Prarit Bhargava writes:
> Blacklisting a module in linux has long been a problem. The current
> procedure is to use rd.blacklist=module_name, however, that doesn't
> cover the case after the initramfs and before a boot prompt (where one
> is supposed to use /etc/modprobe.d/blacklist.conf to black
Hi Philipp:
On Mon, Jul 18, 2016 at 4:16 PM, Philipp Zabel wrote:
> I had the best looking result with this variant, btw:
>
> y >>= 4;
> cb >>= 4;
> cr >>= 4;
> if (tpg->real_quantization == V4L2_QUANTIZATION_LIM_RANGE) {
> y = clamp(y, 16, 235);
>
To reduce the amount of traces generated by tracers range
and start/stop address filtering has been implemented. This
patch provides example on how to use the various options
currently supported.
Signed-off-by: Mathieu Poirier
Cc: linux-doc@vger.kernel.org
---
Documentation/trace/coresight.txt
Moved sample code found in Documentation/ to samples/ but kept actual
documentation where it is, while updating any in-text references to the
moved code. Updated the Documentation/Makefile and samples/Makefile to
reflect the change. Built with CONFIG_SAMPLES=y in .config with no
build errors. The d
On Mon, 18 Jul 2016 18:35:19 +0200, Benjamin Tissoires wrote:
> On Jul 18 2016 or thereabouts, Jean Delvare wrote:
> > But what happens on i2c_adapter removal? What prevents the following
> > sequence from happening?
> >
> > 1* A Host Notify event happens.
> > 2* The event is handled and queued by
Hi Guenter,
On Sat, Jul 16, 2016 at 9:35 AM, Guenter Roeck wrote:
> On 07/11/2016 05:30 PM, Hoan Tran wrote:
>>
>> This patch adds hardware temperature and power reading support for
>> APM X-Gene SoC using the mailbox communication interface.
>>
>> Signed-off-by: Hoan Tran
>> ---
>> Documentat
On Thu, Jul 14, 2016 at 2:22 PM, Chris Metcalf wrote:
> On 7/14/2016 5:03 PM, Andy Lutomirski wrote:
>>
>> On Thu, Jul 14, 2016 at 1:48 PM, Chris Metcalf
>> wrote:
>>>
>>> Here is a respin of the task-isolation patch set. This primarily
>>> reflects feedback from Frederic and Peter Z.
>>
>> I st
On Fri, Jul 15, 2016 at 05:15:41PM +, Topi Miettinen wrote:
> There are clear semantics for the limits themselves, either they apply
> per task or per user. It makes sense to gather values according to these
> semantics. Then with systemd or other tools you can use the valuse to
> set the limit
On 7/18/2016 6:11 PM, Andy Lutomirski wrote:
As an example, enough vmalloc/vfree activity will eventually cause
flush_tlb_kernel_range to be called and*boom*, there goes your shiny
production dataplane application.
Well, that's actually a refinement that I did not inflict on this patch
series.
68 matches
Mail list logo