Re: [RFCv11 PATCH 03/29] media-request: allocate media requests

2018-04-09 Thread Tomasz Figa
Hi Hans, On Mon, Apr 9, 2018 at 11:20 PM Hans Verkuil wrote: [snip] > diff --git a/drivers/media/media-request.c b/drivers/media/media-request.c > new file mode 100644 > index ..ead78613fdbe > --- /dev/null > +++ b/drivers/media/media-request.c > @@ -0,0 +1,23 @@

Re: [RFCv11 PATCH 02/29] uapi/linux/media.h: add request API

2018-04-09 Thread Tomasz Figa
Hi Hans, On Mon, Apr 9, 2018 at 11:20 PM Hans Verkuil wrote: > From: Hans Verkuil > Define the public request API. > This adds the new MEDIA_IOC_REQUEST_ALLOC ioctl to allocate a request > and two ioctls that operate on a request in order to queue

cron job: media_tree daily build: OK

2018-04-09 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: Tue Apr 10 05:00:14 CEST 2018 media-tree git hash:17dec0a949153d9ac00760ba2f5b78cb583e995f media_build

Re: [PATCH v3] usbtv: Enforce standard for color decoding

2018-04-09 Thread Hugo "Bonstra" Grostabussiat
Le 10/04/2018 à 01:13, Hugo Grostabussiat a écrit : > if (!ret) { > /* Configure the decoder for the color standard */ > - u16 cfg[][2] = { > + const u16 cfg[][2] = { > { USBTV_BASE + 0x016f, usbtv_norm_to_16f_reg(norm) } >

[PATCH v3] usbtv: Enforce standard for color decoding

2018-04-09 Thread Hugo Grostabussiat
Depending on the chosen standard, configure the decoder to use the appropriate color encoding standard (PAL-like, NTSC-like or SECAM). Until now, the decoder was not configured for a specific color standard, making it autodetect the color encoding. While this may sound fine, it potentially

Re: [PATCH] [media] v4l2-core: Rename array 'video_driver' to 'video_drivers'

2018-04-09 Thread Laurent Pinchart
Hi Simon, Thank you for the patch. On Monday, 9 April 2018 22:47:38 EEST Simon Que wrote: > Improves code clarity in two ways: > 1. The plural name makes it more clear that it is an array. > 2. The name of the array is now no longer identical to the struct type > name, so it is easier to find in

[PATCH] [media] v4l2-core: Rename array 'video_driver' to 'video_drivers'

2018-04-09 Thread Simon Que
Improves code clarity in two ways: 1. The plural name makes it more clear that it is an array. 2. The name of the array is now no longer identical to the struct type name, so it is easier to find in the code. Signed-off-by: Simon Que --- drivers/media/v4l2-core/v4l2-dev.c |

[GIT PULL for v4.17-rc1] media fixes and sparse/smatch cleanups

2018-04-09 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.17-2 For a series of media updates/fixes for Kernel 4.17-rc1. There are two important core fix patches in this series: - A regression fix on Kernel 4.16 with causes it to not work

[PATCH v2 02/19] [media] dvb-frontends/stv0910: fix CNR reporting in read_snr()

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller The CNR value determined in read_snr() is reported via the wrong variable. It uses FE_SCALE_DECIBEL, which implies the value to be reported in svalue instead of uvalue. Fix this accordingly. Picked up from the upstream dddvb-0.9.33 release.

[PATCH v2 05/19] [media] ddbridge: move MSI IRQ cleanup to a helper function

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Introduce the ddb_msi_exit() helper to be used for cleaning up previously allocated MSI IRQ vectors. Deduplicates code and makes things look cleaner as for all cleanup work the CONFIG_PCI_MSI ifdeffery is only needed in the helper now. Also, replace the

[PATCH v2 17/19] [media] ddbridge: add hardware defs and PCI IDs for MCI cards

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Add PCI IDs and ddb_info for the new MCI-based MaxSX8 cards. Also add needed defines so the cards can be hooked up into ddbridge's probe and attach handling. Picked up from the upstream dddvb-0.9.33 release. Signed-off-by: Daniel Scheller

[PATCH v2 07/19] [media] ddbridge: add helper for IRQ handler setup

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Introduce the ddb_irq_set() helper function (along with a matching prototype in ddbridge.h) to improve the set up of the IRQ handlers and handler_data, and rework storing this data into the ddb_link using a new ddb_irq struct. This also does the

[PATCH v2 08/19] [media] ddbridge: add macros to handle IRQs in nibble and byte blocks

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Currently, each IRQ requires one IRQ_HANDLE() line to call each IRQ handler that was set up. Add a IRQ_HANDLE_NIBBLE() and IRQ_HANDLE_BYTE() macro to call all handlers in blocks of four (_NIBBLE) or eight (_BYTE) handlers at a time, to make this

[PATCH v2 12/19] [media] ddbridge: set devid entry for link 0

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Currently, /sys/class/ddbridgeX/devid always reports 0 due to devid not being set at all. Set the devid field alongside while storing all other hardware ID data. Picked up from the upstream dddvb-0.9.33 release. Signed-off-by: Daniel Scheller

[PATCH v2 15/19] [media] ddbridge: initial support for MCI-based MaxSX8 cards

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller This adds initial support for the new MCI-based (micro-code interface) DD cards, with the first one being the MaxSX8 eight-tuner DVB-S/S2/S2X PCIe card. The MCI is basically a generalized interface implemented in the card's FPGA firmware and usable for

[PATCH v2 13/19] [media] ddbridge: make DMA buffer count and size modparam-configurable

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Make the number of DMA buffers and their size configurable using module parameters. Being able to set these to a higher number might help on busy systems when handling overall high data rates without having to edit the driver sources and recompile

[PATCH v2 14/19] [media] ddbridge: support dummy tuners with 125MByte/s dummy data stream

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller The Octopus V3 and Octopus Mini devices support set up of a dummy tuner mode on port 0 that will deliver a continuous data stream of 125MBytes per second while raising IRQs and filling the DMA buffers, which comes handy for some stress, PCIe link and IRQ

[PATCH v2 19/19] [media] ddbridge: set driver version to 0.9.33-integrated

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Set DDBRIDGE_VERSION in ddbridge.h to 0.9.33-integrated to reflect the updated driver. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 18/19] [media] ddbridge: recognize and attach the MaxSX8 cards

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Add needed logic into dvb_input_attach(), ddb_port_probe() and ddb_ports_init() to initialize and support these new cards. Picked up from the upstream dddvb-0.9.33 release. Signed-off-by: Daniel Scheller ---

[PATCH v2 10/19] [media] ddbridge: use spin_lock_irqsave() in output_work()

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Make sure to save IRQ states before taking the dma lock, as already done in it's input_work() counterpart. Picked up from the upstream dddvb-0.9.33 release. Signed-off-by: Daniel Scheller ---

[PATCH v2 11/19] [media] ddbridge: fix output buffer check

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller A 188 byte gap has to be left between the writer and the consumer. This requires 2*188 bytes available to be able to write to the output buffers. So, change ddb_output_free() to report free bytes according to this rule. Picked up from the upstream

[PATCH v2 16/19] [media] ddbridge/max: implement MCI/MaxSX8 attach function

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Implement frontend attachment as ddb_fe_attach_mci() into the ddbridge-max module. The MaxSX8 MCI cards are part of the Max card series and make use of the LNB controller driven by the already existing lnb functionality, so here's where this code belongs

[PATCH v2 03/19] [media] ddbridge: move modparams to ddbridge-core.c

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Besides the 'msi' module option, all options are used from within ddbridge-core only, so move them over from ddbridge-main, and declare the associated variables static. Since the prototypes in ddbridge.h aren't necessary anymore now, remove them. As a

[PATCH v2 09/19] [media] ddbridge: improve separated MSI IRQ handling

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Improve IRQ handling in the separated MSG/I2C and IO/TSDATA handlers by applying a mask for recognized bits immediately upon reading the IRQ mask from the hardware, so only the bits/IRQs that actually were set will be acked. Picked up from the upstream

[PATCH v2 06/19] [media] ddbridge: request/free_irq using pci_irq_vector, enable MSI-X

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Instead of trying to manage IRQ numbers on itself, utilise the pci_irq_vector() function to do this, which will take care of correct IRQ numbering for MSI and non-MSI IRQs. While at it, request and enable MSI-X interrupts for hardware (boards and cards)

[PATCH v2 01/19] [media] dvb-frontends/stv0910: add init values for TSINSDELM/L

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller The TSINSDEL registers were lacking initialisation in the stv0910 demod driver. Initialise them (both demods) in the probe() function. Picked up from the upstream dddvb-0.9.33 release. Signed-off-by: Daniel Scheller ---

[PATCH v2 04/19] [media] ddbridge: move ddb_wq and the wq+class initialisation to -core

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller Move the ddbridge module initialisation and cleanup code to ddbridge-core and set up the ddb_wq workqueue there, and create and destroy the ddb device class there aswell. Due to this, the prototypes for ddb_wq, ddb_class_create() and ddb_class_destroy()

[PATCH v2 00/19] dddvb/ddbridge-0.9.33

2018-04-09 Thread Daniel Scheller
From: Daniel Scheller This series brings all relevant changes from the upstream dddvb-0.9.33 driver package to the in-kernel ddbridge and stv0910, though a few changes were picked up and merged previously already. Summary of changes: * stv0910: initialisation fixes and fixed

Re: [RFCv11 PATCH 17/29] vb2: store userspace data in vb2_v4l2_buffer

2018-04-09 Thread Kieran Bingham
Hi Hans, Thank you for the patch series ! I'm looking forwards to finding some time to try out this work. Just briefly scanning through the series, and I saw the minor issue below. Regards Kieran On 09/04/18 15:20, Hans Verkuil wrote: > From: Hans Verkuil > > The

[RFCv11 PATCH 06/29] media-request: add media_request_find

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Add media_request_find() to find a request based on the file descriptor. The caller has to call media_request_put() for the returned request since this function increments the refcount. Signed-off-by: Hans Verkuil ---

[RFCv11 PATCH 09/29] videodev2.h: add V4L2_CTRL_FLAG_IN_REQUEST

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 6f41baa53787..d6e5c245bdcf 100644 ---

[RFCv11 PATCH 10/29] v4l2-ctrls: v4l2_ctrl_add_handler: add from_other_dev

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Add a 'bool from_other_dev' argument: set to true if the two handlers refer to different devices (e.g. it is true when inheriting controls from a subdev into a main v4l2 bridge driver). This will be used later when implementing support for the request

[RFCv11 PATCH 08/29] videodev2.h: add request_fd field to v4l2_ext_controls

2018-04-09 Thread Hans Verkuil
From: Alexandre Courbot If which is V4L2_CTRL_WHICH_REQUEST, then the request_fd field can be used to specify a request for the G/S/TRY_EXT_CTRLS ioctls. Signed-off-by: Alexandre Courbot --- drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 5 -

[RFCv11 PATCH 13/29] v4l2-ctrls: use ref in helper instead of ctrl

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil The next patch needs the reference to a control instead of the control itself, so change struct v4l2_ctrl_helper accordingly. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ctrls.c | 18 +- 1 file

[RFCv11 PATCH 12/29] v4l2-ctrls: alloc memory for p_req

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil To store request data the handler_new_ref() allocates memory for it if needed. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ctrls.c | 20 1 file changed, 16 insertions(+), 4 deletions(-)

[RFCv11 PATCH 11/29] v4l2-ctrls: prepare internal structs for request API

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Embed and initialize a media_request_object in struct v4l2_ctrl_handler. Add a p_req field to struct v4l2_ctrl_ref that will store the request value. Signed-off-by: Hans Verkuil Signed-off-by: Alexandre Courbot

[RFCv11 PATCH 04/29] media-request: core request support

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Implement the core of the media request processing. Drivers can bind request objects to a request. These objects can then be marked completed if the driver finished using them, or just be unbound if the results do not need to be kept (e.g. in the case

[RFCv11 PATCH 07/29] media-request: add media_request_object_find

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Add media_request_object_find to find a request object inside a request based on ops and/or priv values. Objects of the same type (vb2 buffer, control handler) will have the same ops value. And objects that refer to the same 'parent' object (e.g. the

[RFCv11 PATCH 05/29] media-request: add request ioctls

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Implement the MEDIA_REQUEST_IOC_QUEUE and MEDIA_REQUEST_IOC_REINIT ioctls. Signed-off-by: Hans Verkuil --- drivers/media/media-request.c | 80 +-- 1 file changed, 78 insertions(+), 2

[RFCv11 PATCH 24/29] Documentation: v4l: document request API

2018-04-09 Thread Hans Verkuil
From: Alexandre Courbot Document the request API for V4L2 devices, and amend the documentation of system calls influenced by it. Signed-off-by: Alexandre Courbot --- Documentation/media/uapi/v4l/buffer.rst| 19 +-

[RFCv11 PATCH 23/29] videobuf2-v4l2: export request_fd

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Requested by Sakari Signed-off-by: Hans Verkuil --- drivers/media/common/videobuf2/videobuf2-v4l2.c | 6 -- include/media/videobuf2-v4l2.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff

[RFCv11 PATCH 25/29] media: vim2m: add media device

2018-04-09 Thread Hans Verkuil
From: Alexandre Courbot Request API requires a media node. Add one to the vim2m driver so we can use requests with it. This probably needs a bit more work to correctly represent m2m hardware in the media topology. Signed-off-by: Alexandre Courbot

[RFCv11 PATCH 20/29] videobuf2-v4l2: integrate with media requests

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil This implements the V4L2 part of the request support. The main change is that vb2_qbuf and vb2_prepare_buf now have a new media_device pointer. This required changes to several drivers that did not use the vb2_ioctl_qbuf/prepare_buf helper functions.

[RFCv11 PATCH 01/29] v4l2-device.h: always expose mdev

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil The mdev field is only present if CONFIG_MEDIA_CONTROLLER is set. But since we will need to pass the media_device to vb2 snd the control framework it is very convenient to just make this field available all the time. If CONFIG_MEDIA_CONTROLLER is not

[RFCv11 PATCH 28/29] vivid: add mc

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Add support for the media_device to vivid. This is a prerequisite for request support. Signed-off-by: Hans Verkuil --- drivers/media/platform/vivid/vivid-core.c | 61 +++

[RFCv11 PATCH 22/29] videobuf2-v4l2: add vb2_request_queue helper

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Generic helper function that checks if there are buffers in the request and if so, prepares and queues all objects in the request. Signed-off-by: Hans Verkuil --- drivers/media/common/videobuf2/videobuf2-v4l2.c | 39

[RFCv11 PATCH 17/29] vb2: store userspace data in vb2_v4l2_buffer

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil The userspace-provided plane data needs to be stored in vb2_v4l2_buffer. Currently this information is applied by __fill_vb2_buffer() which is called by the core prepare_buf and qbuf functions, but when using requests these functions aren't called yet

[RFCv11 PATCH 18/29] videobuf2-core: embed media_request_object

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Make vb2_buffer a request object. Signed-off-by: Hans Verkuil --- include/media/videobuf2-core.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h index

[RFCv11 PATCH 29/29] vivid: add request support

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Add support for requests to vivid. Signed-off-by: Hans Verkuil --- drivers/media/platform/vivid/vivid-core.c| 7 +++ drivers/media/platform/vivid/vivid-kthread-cap.c | 12

[RFCv11 PATCH 27/29] vim2m: support requests

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Add support for requests to vim2m. Signed-off-by: Hans Verkuil --- drivers/media/platform/vim2m.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/media/platform/vim2m.c

[RFCv11 PATCH 26/29] vim2m: use workqueue

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil v4l2_ctrl uses mutexes, so we can't setup a ctrl_handler in interrupt context. Switch to a workqueue instead. Signed-off-by: Hans Verkuil --- drivers/media/platform/vim2m.c | 15 +-- 1 file changed, 13

[RFCv11 PATCH 03/29] media-request: allocate media requests

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Add support for allocating a new request. This is only supported if mdev->ops->req_queue is set, i.e. the driver indicates that it supports queueing requests. Signed-off-by: Hans Verkuil --- drivers/media/Makefile| 3

[RFCv11 PATCH 00/29] Request API

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Hi all, This is a cleaned up version of the v10 series (never posted to the list since it was messy). The main changes compared to v9 are in the control framework which is (hopefully!) now in sync with the RFC. Specifically, when queueing a request it

[RFCv11 PATCH 16/29] videodev2.h: Add request_fd field to v4l2_buffer

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil When queuing buffers allow for passing the request that should be associated with this buffer. If V4L2_BUF_FLAG_REQUEST_FD is set, then request_fd is used as the file descriptor. If a buffer is stored in a request, but not yet queued to the driver,

[RFCv11 PATCH 15/29] v4l2-ctrls: support g/s_ext_ctrls for requests

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil The v4l2_g/s_ext_ctrls functions now support control handlers that represent requests. The v4l2_ctrls_find_req_obj() function is responsible for finding the request from the fd. Signed-off-by: Hans Verkuil ---

[RFCv11 PATCH 21/29] videobuf2-core: add vb2_core_request_has_buffers

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Add a new helper function that returns true if a media_request contains buffers. Signed-off-by: Hans Verkuil --- drivers/media/common/videobuf2/videobuf2-core.c | 12 include/media/videobuf2-core.h

[RFCv11 PATCH 19/29] videobuf2-core: integrate with media requests

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Buffers can now be prepared or queued for a request. A buffer is unbound from the request at vb2_buffer_done time or when the queue is cancelled. Signed-off-by: Hans Verkuil --- drivers/media/common/videobuf2/videobuf2-core.c

[RFCv11 PATCH 14/29] v4l2-ctrls: add core request support

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Integrate the request support. This adds the v4l2_ctrl_request_complete and v4l2_ctrl_request_setup functions to complete a request and (as a helper function) to apply a request to the hardware. It takes care of queuing requests and correctly chaining

[RFCv11 PATCH 02/29] uapi/linux/media.h: add request API

2018-04-09 Thread Hans Verkuil
From: Hans Verkuil Define the public request API. This adds the new MEDIA_IOC_REQUEST_ALLOC ioctl to allocate a request and two ioctls that operate on a request in order to queue the contents of the request to the driver and to re-initialize the request. Signed-off-by:

Re: [PATCH] media: entity: fix spelling for media_entity_get_fwnode_pad()

2018-04-09 Thread Simon Horman
On Sun, Apr 08, 2018 at 06:11:52PM +0200, Niklas Söderlund wrote: > From: Niklas Söderlund > > s/dose/does/ > > Fixes: d295c6a460cd2ac6 ("[media] media: entity: Add > media_entity_get_fwnode_pad() function") > Signed-off-by: Niklas Söderlund

[PATCH v3 1/7] drm/i2c: tda998x: move mutex/waitqueue/timer/work init early

2018-04-09 Thread Russell King
Move the mutex, waitqueue, timer and detect work initialisation early in the driver's initialisation, rather than being after we've registered the CEC device. Acked-by: Hans Verkuil Signed-off-by: Russell King ---

[PATCH v3 5/7] drm/i2c: tda9950: add CEC driver

2018-04-09 Thread Russell King
Add a CEC driver for the TDA9950, which is a stand-alone I2C CEC device, but is also integrated into HDMI transceivers such as the TDA9989 and TDA19989. The TDA9950 contains a command processor which handles retransmissions and the low level bus protocol. The driver just has to read and write

[PATCH v3 7/7] dt-bindings: tda998x: add the calibration gpio

2018-04-09 Thread Russell King
Add the optional calibration gpio for integrated TDA9950 CEC support. This GPIO corresponds with the interrupt from the TDA998x, as the calibration requires driving the interrupt pin low. Reviewed-by: Rob Herring Signed-off-by: Russell King ---

[PATCH v3 4/7] drm/i2c: tda998x: always disable and clear interrupts at probe

2018-04-09 Thread Russell King
Always disable and clear interrupts at probe time to ensure that the TDA998x is in a sane state. This ensures that the interrupt line, which is also the CEC clock calibration signal, is always deasserted. Acked-by: Hans Verkuil Signed-off-by: Russell King

[PATCH v3 6/7] drm/i2c: tda998x: add CEC support

2018-04-09 Thread Russell King
The TDA998x is a HDMI transmitter with a TDA9950 CEC engine integrated onto the same die. Add support for the TDA9950 CEC engine to the TDA998x driver. Signed-off-by: Russell King --- drivers/gpu/drm/i2c/Kconfig | 1 + drivers/gpu/drm/i2c/tda998x_drv.c | 195

[PATCH v3 3/7] drm/i2c: tda998x: move CEC device initialisation later

2018-04-09 Thread Russell King
We no longer use the CEC client to access the CEC part itself, so we can move this later in the initialisation sequence. Acked-by: Hans Verkuil Signed-off-by: Russell King --- drivers/gpu/drm/i2c/tda998x_drv.c | 13 - 1 file

[PATCH v3 2/7] drm/i2c: tda998x: fix error cleanup paths

2018-04-09 Thread Russell King
If tda998x_get_audio_ports() fails, and we requested the interrupt, we fail to free the interrupt before returning failure. Rework the failure cleanup code and exit paths so that we always clean up properly after an error, and always propagate the error code. Acked-by: Hans Verkuil

[PATCH v3 0/7] TDA998x CEC support

2018-04-09 Thread Russell King - ARM Linux
Hi, This patch series adds CEC support to the DRM TDA998x driver. The TDA998x family of devices integrate a TDA9950 CEC at a separate I2C address from the HDMI encoder. Implementation of the CEC part is separate to allow independent CEC implementations, or independent HDMI implementations

Re: [PATCH 1/6] media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING

2018-04-09 Thread Laurent Pinchart
Hello, On Monday, 9 April 2018 09:58:12 EEST jacopo mondi wrote: > Hello Akinobu, > thank you for the patch. > > On which platform have you tested the series (just curious) ? > > On Sun, Apr 08, 2018 at 12:48:05AM +0900, Akinobu Mita wrote: > > The ov772x driver only works when the i2c

Re: [PATCH 07/16] media: exymos4-is: allow compile test for EXYNOS FIMC-LITE

2018-04-09 Thread Sylwester Nawrocki
On 04/05/2018 07:54 PM, Mauro Carvalho Chehab wrote: > There's nothing that prevents building this driver with > COMPILE_TEST. So, enable it. > > While here, make the Kconfig dependency cleaner by removing > the unneeded if block. > > Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH 02/16] media: omap3isp: allow it to build with COMPILE_TEST

2018-04-09 Thread Mauro Carvalho Chehab
HI Arnd, Em Mon, 9 Apr 2018 10:50:13 +0200 Arnd Bergmann escreveu: > >> > That hardly seems to be an arch-specific iommu solution, but, instead, > >> > some > >> > hack used by only three drivers or some legacy iommu binding. > >> > >> It's more complex than that. There are

Re: [PATCH] v4l: omap3isp: Enable driver compilation on ARM with COMPILE_TEST

2018-04-09 Thread Mauro Carvalho Chehab
Em Sat, 7 Apr 2018 14:40:08 +0300 Laurent Pinchart escreveu: > The omap3isp driver can't be compiled on non-ARM platforms but has no > compile-time dependency on OMAP. It however requires common clock > framework support, which isn't provided by all ARM

Re: [PATCH 6/6] media: ov772x: support device tree probing

2018-04-09 Thread jacopo mondi
Hi Akinobu, On Sun, Apr 08, 2018 at 12:48:10AM +0900, Akinobu Mita wrote: > The ov772x driver currently only supports legacy platform data probe. > This change enables device tree probing. > > Note that the platform data probe can select auto or manual edge control > mode, but the device tree

Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-09 Thread Peter Zijlstra
On Wed, Apr 04, 2018 at 02:41:51PM +0300, Olli Salonen wrote: > Hello Peter and Max, > > I noticed that when using kernel 4.10 or newer my DVBSky S960 and > S960CI satellite USB TV tuners stopped working properly. Basically, > they will fail at one point when tuning to a channel. This typically >

Re: [PATCH 5/6] media: ov772x: add device tree binding

2018-04-09 Thread jacopo mondi
Hi Akinobu, On Sun, Apr 08, 2018 at 12:48:09AM +0900, Akinobu Mita wrote: > This adds a device tree binding documentation for OV7720/OV7725 sensor. Please use as patch subject media: dt-bindings: > > Cc: Jacopo Mondi > Cc: Laurent Pinchart

Re: [PATCH 02/16] media: omap3isp: allow it to build with COMPILE_TEST

2018-04-09 Thread Arnd Bergmann
On Sat, Apr 7, 2018 at 3:14 PM, Mauro Carvalho Chehab wrote: > Em Sat, 07 Apr 2018 14:56:59 +0300 > Laurent Pinchart escreveu: >> On Thursday, 5 April 2018 22:44:44 EEST Mauro Carvalho Chehab wrote: >> > Em Thu, 05 Apr 2018 21:30:27

Re: [PATCH 4/6] media: ov772x: add media controller support

2018-04-09 Thread jacopo mondi
Hi Akinobu, On Sun, Apr 08, 2018 at 12:48:08AM +0900, Akinobu Mita wrote: > Create a source pad and set the media controller type to the sensor. > > Cc: Jacopo Mondi > Cc: Laurent Pinchart > Cc: Hans Verkuil

Re: [PATCH v2] Add udmabuf misc device

2018-04-09 Thread Daniel Vetter
On Fri, Apr 06, 2018 at 02:24:46PM +0200, Christian König wrote: > Am 06.04.2018 um 11:33 schrieb Gerd Hoffmann: > >Hi, > > > > > The pages backing a DMA-buf are not allowed to move (at least not without > > > a > > > patch set I'm currently working on), but for certain MM operations to work

Re: [RFCv9 PATCH 15/29] videodev2.h: add request_fd field to v4l2_ext_controls

2018-04-09 Thread Sakari Ailus
Hi Hans, On Wed, Mar 28, 2018 at 03:50:16PM +0200, Hans Verkuil wrote: > From: Alexandre Courbot > > If which is V4L2_CTRL_WHICH_REQUEST, then the request_fd field can be > used to specify a request for the G/S/TRY_EXT_CTRLS ioctls. > > Signed-off-by: Alexandre Courbot

Re: [RfC PATCH] Add udmabuf misc device

2018-04-09 Thread Daniel Vetter
On Thu, Apr 05, 2018 at 05:11:17PM -0700, Matt Roper wrote: > On Thu, Apr 05, 2018 at 10:32:04PM +0200, Daniel Vetter wrote: > > Pulling this out of the shadows again. > > > > We now also have xen-zcopy from Oleksandr and the hyper dmabuf stuff > > from Matt and Dongwong. > > > > At least from

Re: [RfC PATCH] Add udmabuf misc device

2018-04-09 Thread Daniel Vetter
On Fri, Apr 06, 2018 at 12:54:22PM +0200, Gerd Hoffmann wrote: > On Fri, Apr 06, 2018 at 10:52:21AM +0100, Daniel Stone wrote: > > Hi Gerd, > > > > On 14 March 2018 at 08:03, Gerd Hoffmann wrote: > > >> Either mlock account (because it's mlocked defacto), and get_user_pages >

Re: [PATCH 2/6] media: ov772x: add checks for register read errors

2018-04-09 Thread jacopo mondi
Hi Akinobu, On Sun, Apr 08, 2018 at 12:48:06AM +0900, Akinobu Mita wrote: > This change adds checks for register read errors and returns correct > error code. > I feel like error conditions are anyway captured by the switch() default case, but I understand there may be merits in returning the

Re: [RFCv9 PATCH 07/29] media-request: add media_request_object_find

2018-04-09 Thread Sakari Ailus
Hi Hans, On Wed, Mar 28, 2018 at 03:50:08PM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > Add media_request_object_find to find a request object inside a > request based on ops and/or priv values. > > Objects of the same type (vb2 buffer, control handler) will

Re: [PATCH 1/6] media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING

2018-04-09 Thread jacopo mondi
Hello Akinobu, thank you for the patch. On which platform have you tested the series (just curious) ? On Sun, Apr 08, 2018 at 12:48:05AM +0900, Akinobu Mita wrote: > The ov772x driver only works when the i2c controller have > I2C_FUNC_PROTOCOL_MANGLING. However, many i2c controller drivers

Grüße von Frau Jordanka

2018-04-09 Thread noreply
Nachricht des Absenders: /Guten Morgen, Bitte schämen Sie sich nicht, diese Nachricht zu lesen, weil Sie der beabsichtigte Empfänger sind. Ich habe deine E-Mail-Adresse über ein Verzeichnis gesehen und ich habe dich kontaktiert, weil ich dringend deine Hilfe benötigt habe. Mein Name ist Frau