cron job: media_tree daily build: WARNINGS

2015-12-17 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Fri Dec 18 04:00:19 CET 2015 git branch: test git hash: 52d60eb7e6d6429a766ea1b8f67e01c3b2dcd3c5 gcc versio

Re: VIVID bug in BGRA and ARGB

2015-12-17 Thread Hans Verkuil
On 12/18/2015 12:04 AM, Nicolas Dufresne wrote: > Hi Hans, > > while testing over color formats VIVID produce, I found that BGRA and > ARGB the alpha component is always 0, which leads to black frames when > composed (when the background is black of course). Is that a bug, or > intended ? Depen

VIVID bug in BGRA and ARGB

2015-12-17 Thread Nicolas Dufresne
Hi Hans, while testing over color formats VIVID produce, I found that BGRA and ARGB the alpha component is always 0, which leads to black frames when composed (when the background is black of course). Is that a bug, or intended ? cheers, Nicolas signature.asc Description: This is a digitally sig

dvb-t

2015-12-17 Thread W.Pelser
Hallo ! Greg Kroah-Hartman asked me, to send it to you. > https://bugzilla.kernel.org/show_bug.cgi?id=109521 > > Bug ID: 109521 >Summary: kernel 4.4-RCx does not connect DVB-T USB Stick during > resume from hibernate -- To unsubscribe from this lis

Darlehen bieten

2015-12-17 Thread SKY
Brauchen Sie jede Art von Darlehen? Haben Sie eine Weihnachts-Darlehen müssen bei 1% Wenn ja, füllen Sie bitte das Anmeldeformular below.Reply-To: skygroup.financia...@gmail.com (1) Name: (2) Der Kreditbetrag erforderlich: (3) Laufzeit der Darlehen: (4) Land: (5) Telefon: Freundliche Grüße Herr

Re: Automatic device driver back-porting with media_build

2015-12-17 Thread Mason
On 17/12/2015 18:03, Mason wrote: > On 17/12/2015 17:09, Mauro Carvalho Chehab wrote: > >> As I said before, heavily patched Kernel. It seems that the network stack >> was updated to some newer version. The media_build backport considers >> only the upstream Kernels. In the specific case of 3.4,

Re: Automatic device driver back-porting with media_build

2015-12-17 Thread Mason
On 17/12/2015 17:09, Mauro Carvalho Chehab wrote: > As I said before, heavily patched Kernel. It seems that the network stack > was updated to some newer version. The media_build backport considers > only the upstream Kernels. In the specific case of 3.4, it is known > to build fine with Kernel li

Re: Automatic device driver back-porting with media_build

2015-12-17 Thread Mason
On 17/12/2015 17:09, Mauro Carvalho Chehab wrote: > Em Thu, 17 Dec 2015 16:32:54 +0100 > Mason escreveu: > >> I wanted to fix the NEED_WRITEL_RELAXED warning, but I don't know Perl. >> >> v4l/scripts/make_config_compat.pl >> >> check_files_for_func("writel_relaxed", "NEED_WRITEL_RELAXED", >> "in

Re: Automatic device driver back-porting with media_build

2015-12-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Dec 2015 16:32:54 +0100 Mason escreveu: > On 17/12/2015 15:55, Mauro Carvalho Chehab wrote: > > > Em Thu, 17 Dec 2015 15:30:43 +0100 > > Mason escreveu: > > > >> On 17/12/2015 15:08, Mauro Carvalho Chehab wrote: > >> > >>> Then I guess you're not using vanilla 3.4 Kernel, but some h

Re: Automatic device driver back-porting with media_build

2015-12-17 Thread Mason
On 17/12/2015 15:55, Mauro Carvalho Chehab wrote: > Em Thu, 17 Dec 2015 15:30:43 +0100 > Mason escreveu: > >> On 17/12/2015 15:08, Mauro Carvalho Chehab wrote: >> >>> Then I guess you're not using vanilla 3.4 Kernel, but some heavily >>> modified version. You're on your own here. >> >> #ifdef NE

Re: [PATCH] [media] uapi/media.h: Use u32 for the number of graph objects

2015-12-17 Thread Arnd Bergmann
On Thursday 17 December 2015 12:58:06 Mauro Carvalho Chehab wrote: > > Can you clarify how the 'topology_version' is used here? Is that > > the version of the structure layout that decides how we interpret the > > rest, or is it a number that is runtime dependent? > > No, topology_version is just

Re: [PATCH] [media] uapi/media.h: Use u32 for the number of graph objects

2015-12-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Dec 2015 14:55:11 +0100 Arnd Bergmann escreveu: > On Thursday 17 December 2015 10:45:56 Mauro Carvalho Chehab wrote: > > If I understood well, he's proposing to do is: > > > > struct media_v2_topology { > > __u64 topology_version; > > > > __u32 num_entities; > >

Re: Automatic device driver back-porting with media_build

2015-12-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Dec 2015 15:30:43 +0100 Mason escreveu: > On 17/12/2015 15:08, Mauro Carvalho Chehab wrote: > > > Then I guess you're not using vanilla 3.4 Kernel, but some heavily > > modified version. You're on your own here. > > #ifdef NEED_KVFREE > #include > static inline void kvfree(const voi

Re: Automatic device driver back-porting with media_build

2015-12-17 Thread Mason
On 17/12/2015 15:08, Mauro Carvalho Chehab wrote: > Then I guess you're not using vanilla 3.4 Kernel, but some heavily > modified version. You're on your own here. #ifdef NEED_KVFREE #include static inline void kvfree(const void *addr) { if (is_vmalloc_addr(addr)) vfree(a

Re: Automatic device driver back-porting with media_build

2015-12-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Dec 2015 14:52:21 +0100 Mason escreveu: > Hello Mauro, > > On 17/12/2015 13:55, Mauro Carvalho Chehab wrote: > > > Mason wrote: > > > >> I have a TechnoTrend TT-TVStick CT2-4400v2 USB tuner, as described here: > >> http://linuxtv.org/wiki/index.php/TechnoTrend_TT-TVStick_CT2-4400 >

Re: [PATCH] [media] uapi/media.h: Use u32 for the number of graph objects

2015-12-17 Thread Arnd Bergmann
On Thursday 17 December 2015 10:45:56 Mauro Carvalho Chehab wrote: > If I understood well, he's proposing to do is: > > struct media_v2_topology { > __u64 topology_version; > > __u32 num_entities; > __u32 num_interfaces; > __u32 num_pads; > __u32 num_links;

Re: Automatic device driver back-porting with media_build

2015-12-17 Thread Mason
Hello Mauro, On 17/12/2015 13:55, Mauro Carvalho Chehab wrote: > Mason wrote: > >> I have a TechnoTrend TT-TVStick CT2-4400v2 USB tuner, as described here: >> http://linuxtv.org/wiki/index.php/TechnoTrend_TT-TVStick_CT2-4400 >> >> According to the article, the device is supported since kernel 3.

Re: Automatic device driver back-porting with media_build

2015-12-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Dec 2015 13:13:36 +0100 Mason escreveu: > Hello everyone, > > I have a TechnoTrend TT-TVStick CT2-4400v2 USB tuner, as described here: > http://linuxtv.org/wiki/index.php/TechnoTrend_TT-TVStick_CT2-4400 > > According to the article, the device is supported since kernel 3.19 > and ind

Re: [PATCH] [media] uapi/media.h: Use u32 for the number of graph objects

2015-12-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Dec 2015 13:12:15 +0100 Hans Verkuil escreveu: > On 12/17/15 12:09, Mauro Carvalho Chehab wrote: > > While we need to keep a u64 alignment to avoid compat32 issues, > > having the number of entities/pads/links/interfaces represented > > by an u64 is incoherent with the ID number, with

Automatic device driver back-porting with media_build

2015-12-17 Thread Mason
Hello everyone, I have a TechnoTrend TT-TVStick CT2-4400v2 USB tuner, as described here: http://linuxtv.org/wiki/index.php/TechnoTrend_TT-TVStick_CT2-4400 According to the article, the device is supported since kernel 3.19 and indeed, if I use a 4.1 kernel, I can pick CONFIG_DVB_USB_DVBSKY and ev

[PATCH] [media] uapi/media.h: Use u32 for the number of graph objects

2015-12-17 Thread Mauro Carvalho Chehab
While we need to keep a u64 alignment to avoid compat32 issues, having the number of entities/pads/links/interfaces represented by an u64 is incoherent with the ID number, with is an u32. In order to make it coherent, change those quantities to u32. Signed-off-by: Mauro Carvalho Chehab --- incl

[PATCH v2] [media] media-entity: don't sleep at media_device_register_entity()

2015-12-17 Thread Mauro Carvalho Chehab
media_device_register_entity() is protected by a spin_lock. Calling ida_pre_get() with GFP_KERNEL may put it to sleep, with is a bad idea and causes this warning: [ 8812.397195] BUG: sleeping function called from invalid context at mm/slub.c:1287 [ 8812.397203] in_atomic(): 1, irqs_disabled(): 0

[PATCH v2] [media] media-device.h: use just one u32 counter for object ID

2015-12-17 Thread Mauro Carvalho Chehab
Instead of using one u32 counter per type for object IDs, use just one counter. With such change, it makes sense to simplify the debug logs too. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/media-entity.c | 35 +++ include/media/media-device.h | 10 ++---

[PATCH/RFC 02/48] v4l: vsp1: Always setup the display list

2015-12-17 Thread Laurent Pinchart
Make sure display list usage is correctly disabled by always setting up the corresponding registers, including when the display list feature isn't used. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_dl.c | 7 +++ drivers/media/platform/vsp1/vsp1_drv.c | 3 +-- 2 files

[PATCH/RFC 03/48] v4l: vsp1: Simplify frame end processing

2015-12-17 Thread Laurent Pinchart
The DRM pipeline, as it runs in automatic restart mode, never sees the pipeline state set to VSP1_PIPELINE_STOPPING or VSP1_PIPELINE_STOPPED when running the frame end interrupt handler. We can thus skip the checks various checks in the handler and return immediately. Similarly the DRM frame end h

[PATCH/RFC 01/48] v4l: vsp1: Use pipeline display list to decide how to write to modules

2015-12-17 Thread Laurent Pinchart
This allows getting rid of the vsp1_device::use_dl field. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1.h| 12 drivers/media/platform/vsp1/vsp1_dl.c | 4 +--- drivers/media/platform/vsp1/vsp1_dl.h | 12 ++-- drivers/media/platform/vsp1

[PATCH/RFC 06/48] v4l: vsp1: bru: Don't program background color in control set handler

2015-12-17 Thread Laurent Pinchart
The datasheet clearly states that all but a few registers can't be modified when the device is running. Programming the background color in the control set handler is thus prohibited. Program it when starting the module instead. This requires storing the background color value internally as the mo

[PATCH/RFC 11/48] v4l: vsp1: Don't configure RPF memory buffers before calculating offsets

2015-12-17 Thread Laurent Pinchart
The RPF source memory pointers need to be offset to take the crop rectangle into account. Offsets are computed in the RPF stream start, which can happen (when using the DRM pipeline) after calling the RPF .set_memory() operation that programs the buffer addresses. The .set_memory() operation tries

[PATCH/RFC 24/48] media: Add per-entity request data support

2015-12-17 Thread Laurent Pinchart
Allow subsystems to associate data with entities in each request. This will be used by the V4L2 subdev core to store pad formats in requests. Signed-off-by: Laurent Pinchart --- Changes since v0: - Dereference requests without holding the list lock - Remove requests from global list when closi

[PATCH/RFC 08/48] v4l: vsp1: sru: Don't program intensity in control set handler

2015-12-17 Thread Laurent Pinchart
The datasheet clearly states that all but a few registers can't be modified when the device is running. Programming the intensity parameters in the control set handler is thus prohibited. Program it when starting the module instead. This requires storing the intensity value internally as the modul

[PATCH/RFC 17/48] v4l: vsp1: Move subdev initialization code to vsp1_entity_init()

2015-12-17 Thread Laurent Pinchart
Don't duplicate the code in every module driver, centralize it in a single place. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c| 18 ++ drivers/media/platform/vsp1/vsp1_entity.c | 30 +- drivers/media/platform/vsp1/vsp1

[PATCH/RFC 14/48] v4l: vsp1: Fix 80 characters per line violations

2015-12-17 Thread Laurent Pinchart
Commit f7234138f14c ("v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config") introduced lots of 80 characters per line violations. Fix them. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c | 12 drivers/media/platform/vsp1/vsp1_lif.c | 6 --

[PATCH/RFC 10/48] v4l: vsp1: Enable display list support for the HS[IT], LUT, SRU and UDS

2015-12-17 Thread Laurent Pinchart
Those modules were left out of display list integration as they're not used by the DRM pipeline. To prepare for display list support in non-DRM pipelines use the module write API to set registers. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_hsit.c | 2 +- drivers/media/p

[PATCH/RFC 12/48] v4l: vsp1: Remove unneeded entity streaming flag

2015-12-17 Thread Laurent Pinchart
The flag is set but never read, remove it. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c| 2 -- drivers/media/platform/vsp1/vsp1_entity.c | 23 --- drivers/media/platform/vsp1/vsp1_entity.h | 6 -- drivers/media/platform/vsp1/vsp1_rpf.c

[PATCH/RFC 22/48] media: Add per-file-handle data support

2015-12-17 Thread Laurent Pinchart
The media devnode core associates devnodes with files by storing the devnode pointer in the file structure private_data field. In order to allow tracking of per-file-handle data introduce a new media devnode file handle structure that stores the devnode pointer, and store a pointer to that structur

[PATCH/RFC 18/48] v4l: vsp1: Consolidate entity ops in a struct vsp1_entity_operations

2015-12-17 Thread Laurent Pinchart
Entities have two operations, a destroy operation stored directly in vsp1_entity and a set_memory operation stored in a vsp1_rwpf_operations structure. Move the two to a more generic vsp1_entity_operations structure that will serve to implement additional operations. Signed-off-by: Laurent Pinchar

[PATCH/RFC 15/48] v4l: vsp1: Add header display list support

2015-12-17 Thread Laurent Pinchart
Display lists can operate in header or headerless mode. The headerless mode is only available on WPF0, to be used with the display engine. All other WPF instances can only use display lists in header mode. Implement support for header mode to prepare for display list usage on WPFs other than 0. S

[PATCH/RFC 21/48] media: Move media_device link_notify operation to an ops structure

2015-12-17 Thread Laurent Pinchart
This will allow adding new operations without increasing the media_device structure size for drivers that don't implement any media device operation. Signed-off-by: Laurent Pinchart --- drivers/media/media-entity.c | 11 ++- drivers/media/platform/exynos4-is/media-dev.c

[PATCH/RFC 29/48] v4l: subdev: Add pad config allocator and init

2015-12-17 Thread Laurent Pinchart
From: Laurent Pinchart Add a new subdev operation to initialize a subdev pad config array, and a helper function to allocate and initialize the array. This can be used by bridge drivers to implement try format based on subdev pad operations. Signed-off-by: Laurent Pinchart Acked-by: Vaibhav Hir

[PATCH/RFC 25/48] videodev2.h: Add request field to v4l2_buffer

2015-12-17 Thread Laurent Pinchart
From: Hans Verkuil When queuing buffers allow for passing the request ID that should be associated with this buffer. Split the u32 reserved2 field into two u16 fields, one for request, one with the old reserved2 name. Signed-off-by: Hans Verkuil --- drivers/media/usb/cpia2/cpia2_v4l.c

[PATCH/RFC 36/48] DocBook: media: Document the V4L2 request API

2015-12-17 Thread Laurent Pinchart
The V4L2 request API consists in extensions to existing V4L2 ioctls. Document it. Signed-off-by: Laurent Pinchart --- Documentation/DocBook/media/v4l/common.xml | 2 + Documentation/DocBook/media/v4l/io.xml | 12 ++- Documentation/DocBook/media/v4l/request-api.xml| 90 ++

[PATCH/RFC 42/48] v4l: vsp1: Create a new configure operation to setup modules

2015-12-17 Thread Laurent Pinchart
The subdev s_stream operation is abused as a generic way to setup modules at every frame. Move the code out to a new VSP1 entity configure operation. Most modules now have an empty s_stream operation that can be removed. The only exception is the WPF module that needs to perform hardware configura

[PATCH/RFC 40/48] v4l: vsp1: Store active formats in a pad config structure

2015-12-17 Thread Laurent Pinchart
Add a pad config structure field to the vsp1_entity structure and use it to store all active pad formats. This generalizes the code to operate on pad config structures, a prerequisite to implement the request API. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c| 59

[PATCH/RFC 38/48] DocBook: media: Document the V4L2 subdev request API

2015-12-17 Thread Laurent Pinchart
The V4L2 subdev request API consists in extensions to existing V4L2 subdev ioctls. Document it. Signed-off-by: Laurent Pinchart --- .../DocBook/media/v4l/vidioc-subdev-g-fmt.xml | 33 -- .../media/v4l/vidioc-subdev-g-selection.xml| 28 -- 2 files

[PATCH/RFC 33/48] vb2: Add helper function to check for request buffers

2015-12-17 Thread Laurent Pinchart
The vb2_queue_has_request() function will check whether a buffer has been prepared for the given request ID. Signed-off-by: Laurent Pinchart --- drivers/media/v4l2-core/videobuf2-v4l2.c | 17 + include/media/videobuf2-v4l2.h | 2 ++ 2 files changed, 19 insertions(+) d

[PATCH/RFC 34/48] vb2: Add helper function to queue request-specific buffer.

2015-12-17 Thread Laurent Pinchart
From: Hans Verkuil The vb2_qbuf_request() function will queue any buffers for the given request that are in state PREPARED. Useful when drivers have to implement the req_queue callback. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/videobuf2-v4l2.c | 31 +

[PATCH/RFC 39/48] v4l: vsp1: Implement and use the subdev pad::init_cfg configuration

2015-12-17 Thread Laurent Pinchart
Turn the custom formats initialization function into a standard pad::init_cfg handler and use it in subdevs instead of initializing formats in the subdev open handler. This makes the subdev open handler empty, so remove it. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_br

[PATCH/RFC 46/48] v4l: vsp1: Support video device formats stored in requests

2015-12-17 Thread Laurent Pinchart
Use the video device format stored in the request object when configuring modules if the request isn't NULL. As the request object doesn't support storage of driver-specific data format information needs to be looked up on the fly and can't be cached anymore. Signed-off-by: Laurent Pinchart ---

[PATCH/RFC 47/48] v4l: vsp1: Pass display list explicitly to configure functions

2015-12-17 Thread Laurent Pinchart
Modules write register values to the active display list pointed to by the pipeline. In order to support the request API we need to fill display lists ahead of time. This requires passing the display list explicitly to all configuration functions. Signed-off-by: Laurent Pinchart --- drivers/medi

[PATCH/RFC 28/48] v4l: Support the request API in format operations

2015-12-17 Thread Laurent Pinchart
Store the formats in per-entity request data. The get and set format operations are completely handled by the V4L2 core with help of the try format driver operation. Signed-off-by: Laurent Pinchart --- drivers/media/v4l2-core/v4l2-ioctl.c | 121 +++ include/media/

[PATCH/RFC 23/48] media: Add request API

2015-12-17 Thread Laurent Pinchart
The request API allows bundling media device parameters with request objects and applying them atomically, either synchronously or asynchronously. Signed-off-by: Laurent Pinchart --- Changes since v0: - Make the request ID 32 bits wide internally --- drivers/media/media-device.c | 175 +++

[PATCH/RFC 16/48] v4l: vsp1: Use display lists with the userspace API

2015-12-17 Thread Laurent Pinchart
Don't restrict display list usage to the DRM pipeline, use them unconditionally. This prepares the driver to support the request API. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_dl.c | 11 +-- drivers/media/platform/vsp1/vsp1_drm.c| 23 ++--- drivers/media/plat

[PATCH/RFC 09/48] v4l: vsp1: Don't setup control handler when starting streaming

2015-12-17 Thread Laurent Pinchart
The control handler set operations don't program the hardware anymore, there's thus no need to call them when starting the stream. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c| 5 + drivers/media/platform/vsp1/vsp1_entity.c | 18 +- drivers/

[PATCH/RFC 44/48] v4l: vsp1: Pass a media request to the module configure operations

2015-12-17 Thread Laurent Pinchart
Retrieve pad configuration from the request to configure modules. If the request is NULL the active configuration is used as before. Pass a NULL request unconditionally for now until support for the request API gets implemented. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vs

[PATCH/RFC 31/48] v4l: subdev: Support the request API in format and selection operations

2015-12-17 Thread Laurent Pinchart
Store the formats and selection rectangles in per-entity request data. This minimizes changes to drivers by reusing the v4l2_subdev_pad_config infrastructure. Signed-off-by: Laurent Pinchart --- drivers/media/v4l2-core/v4l2-subdev.c | 225 +- include/media/v4l2-su

[PATCH/RFC 35/48] DocBook: media: Document the media request API

2015-12-17 Thread Laurent Pinchart
The media request API is made of a new ioctl to implement request management. Document it. Signed-off-by: Laurent Pinchart --- .../DocBook/media/v4l/media-controller.xml | 1 + .../DocBook/media/v4l/media-ioc-request-cmd.xml| 194 + 2 files changed, 195 insertio

[PATCH/RFC 20/48] v4l: vsp1: Add race condition FIXME comment

2015-12-17 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_video.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/vsp1/vsp1_video.c b/drivers/media/platform/vsp1/vsp1_video.c index 50fc91a2f509..ec1394289659 100644 --- a/drivers/media/platform/vsp1/vsp1_v

[PATCH/RFC 37/48] DocBook: media: Document the subdev selection API

2015-12-17 Thread Laurent Pinchart
Now that the subdev crop API is considered obsolete, the selection API that replaces it deserves a full documentation instead of referring to the crop API documentation. Signed-off-by: Laurent Pinchart --- .../media/v4l/vidioc-subdev-g-selection.xml| 37 ++ 1 file cha

[PATCH/RFC 43/48] v4l: vsp1: Merge RPF and WPF pad ops structures

2015-12-17 Thread Laurent Pinchart
The two structures are identical, merge them and move the result to vsp1_rwpf.c. All rwpf pad operations can now be declared static. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_rpf.c | 12 +-- drivers/media/platform/vsp1/vsp1_rwpf.c | 60 +++-

[PATCH/RFC 45/48] v4l: vsp1: Use __vsp1_video_try_format to initialize format at init time

2015-12-17 Thread Laurent Pinchart
Reuse the runtime logic to initialize the default format instead of open-coding it. This ensures coherency between intialization and runtime. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_video.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git

[PATCH/RFC 27/48] v4l2-subdev.h: Add request field to format and selection structures

2015-12-17 Thread Laurent Pinchart
Let userspace specify a request ID when getting or setting formats or selection rectangles. >From a userspace point of view the API change is minimized and doesn't require any new ioctl. Signed-off-by: Laurent Pinchart --- include/uapi/linux/v4l2-subdev.h | 15 +-- 1 file changed, 1

[PATCH/RFC 13/48] v4l: vsp1: Document calling context of vsp1_pipeline_propagate_alpha()

2015-12-17 Thread Laurent Pinchart
The function can only be called from a s_stream handler as it requires a valid display list context (due to calling vsp1_uds_set_alpha() which writes to module registers). Document the requirement. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_pipe.c | 3 +++ 1 file change

[PATCH/RFC 48/48] v4l: vsp1: Support the request API

2015-12-17 Thread Laurent Pinchart
Implement the request API on top of display lists. Queueing a request creates and queues a display list containing the pipeline configuration for processing, allowing back-to-back operation without waiting for frame processing completion before preparing the pipeline for the next frame. Signed-off

[PATCH/RFC 30/48] v4l: subdev: Call pad init_cfg operation when opening subdevs

2015-12-17 Thread Laurent Pinchart
The subdev core code currently rely on the subdev open handler to initialize the file handle's pad configuration, even though subdevs now have a pad operation dedicated for that purpose. As a first step towards migration to init_cfg, call the operation operation in the subdev core open implementat

[PATCH/RFC 26/48] videodev2.h: Add request field to v4l2_pix_format_mplane

2015-12-17 Thread Laurent Pinchart
Let userspace specify a request ID when getting or setting formats. The support is limited to the multi-planar API at the moment, extending it to the single-planar API is possible if needed. >From a userspace point of view the API change is also minimized and doesn't require any new ioctl. Signed

[PATCH/RFC 32/48] vb2: Add allow_requests flag

2015-12-17 Thread Laurent Pinchart
From: Hans Verkuil The driver has to set allow_requests explicitly in order to allow queuing or preparing buffers for a specific request ID. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/videobuf2-v4l2.c | 5 + include/media/videobuf2-core.h | 2 ++ 2 files changed, 7 i

[PATCH/RFC 41/48] v4l: vsp1: Store active selection rectangles in a pad config structure

2015-12-17 Thread Laurent Pinchart
Use the pad config structure part of the vsp1_entity to store all active pad selection rectangles. This generalizes the code to operate on pad config structures, a prerequisite to implement the request API. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c| 24 ++

[PATCH/RFC 19/48] v4l: vsp1: Fix BRU try compose rectangle storage

2015-12-17 Thread Laurent Pinchart
Fix a typo that stored the try compose rectangle in the crop rectangle. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_bru.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/vsp1/vsp1_bru.c b/drivers/media/platform/vsp1/vsp1_bru.

[PATCH/RFC 00/48] Request API and proof-of-concept implementation

2015-12-17 Thread Laurent Pinchart
quest API support in the VSP1 driver. The code depends on several VSP1 and DU patch series previously posted. For convenience you can access it on top of its dependencies at git://linuxtv.org/pinchartl/media.git vsp1-kms-request-20151217 As this series introduces a new API, support fo

[PATCH/RFC 07/48] v4l: vsp1: rwpf: Don't program alpha value in control set handler

2015-12-17 Thread Laurent Pinchart
The datasheet clearly states that all but a few registers can't be modified when the device is running. Programming the alpha value in the control set handler is thus prohibited. Program it when starting the module instead. This requires storing the alpha value internally as the module can be star

[PATCH/RFC 05/48] v4l: vsp1: Store the display list manager in the WPF

2015-12-17 Thread Laurent Pinchart
Each WPF can process display lists independently, move the manager to the WPF to reflect that and prepare for display list support for non-DRM pipelines. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_dl.c | 37 ++- drivers/media/platform/vsp

[PATCH/RFC 04/48] v4l: vsp1: Split display list manager from display list

2015-12-17 Thread Laurent Pinchart
This clarifies the API and prepares display list support for being used to implement the request API. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1.h| 1 - drivers/media/platform/vsp1/vsp1_dl.c | 264 ++ drivers/media/platform/vsp1

Review & Reply

2015-12-17 Thread J.Tynan
Greetings, My name is Mr.Michael J. Tynan, I am a banker with Bank Of America. It is true that we have not meet each other in person, but I strongly believe in trust and friendship in every business. I have a Lebanese deceased customer's abandoned fund, which I am his personal financial adviser