cron job: media_tree daily build: ERRORS

2018-06-23 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: Sun Jun 24 05:00:16 CEST 2018 media-tree git hash:f2809d20b9250c675fca8268a0f6274277cca7ff media_build gi

Re: Software-only image processing for Intel "complex" cameras

2018-06-23 Thread Pavel Machek
Hi! > > > e. g. something like: > > > > > > board_vendor = dmi_get_system_info(DMI_BOARD_VENDOR); > > > board_name = dmi_get_system_info(DMI_BOARD_NAME); > > > board_version = dmi_get_system_info(DMI_BOARD_NAME); > > > product_name = dmi_get_system_info(DMI_PRODUCT_NAME); > > > product_

[PATCH 06/19] [media] ddbridge: remove unused MDIO defines and hwinfo member

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller ddbridge has a few MDIO related remainders (defines, hwinfo struct) which aren't of any use for the in-kernel driver at all (they're only used in conjunction with the OctoNet SAT>IP boxes which the kernel driver doesn't have any support for), so clean this up. Signed-off-by

[PATCH 11/19] [media] ddbridge/mci: rename defines and fix i/q var types

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller Adjustments to match the FPGA firmware, and the signal I/Q values are reported as s16 types from the card firmware. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-mci.c | 2 +- drivers/media/pci/ddbridge/ddb

[PATCH 02/19] [media] dvb-frontends/stv0910: cast the BER denominator shift exp to ULL

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller To avoid miscalculations related to the BER denominator, the shift expression needs to be casted as ULL. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/stv0910.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH 07/19] [media] ddbridge: link structure access cosmetics in ddb_port_probe()

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller Throughout the function, dev->link[l] is used several times. Unclutter this a bit by declaring a ddb_link var at the top of the function, assign the address of dev->link[l] to it and use that var to access the link[] struct member. Picked up from the upstream dddvb GIT. Si

[PATCH 17/19] [media] ddbridge/sx8: disable automatic PLS code search

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller The SX8 cards by default do an automatic search for the PLS code. This is not necessarily wanted as this can eventually be detected wrong, so disable this. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-sx8.c

[PATCH 12/19] [media] ddbridge/mci: extend mci_command and mci_result structs

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller Recent FPGA firmware reports more data and values in sent command responses. Adjust the mci_command and mci_result structs including it's unions to match these changes and add a few comments explaining things. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Sc

[PATCH 09/19] [media] ddbridge/mci: update copyright year in headers

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller Update the copyright year information in the MCI headers to 2017-2018. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-mci.c | 6 +++--- drivers/media/pci/ddbridge/ddbridge-mci.h | 6 +++--- 2 files changed, 6

[PATCH 10/19] [media] ddbridge/mci: read and report signal strength and SNR

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller Implement querying signal statistics from the MCI and report this data in read_status() as DVBv5 statistics. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-mci.c | 47 ++- 1 file c

[PATCH 13/19] [media] ddbridge/mci: store mci type and number of ports in the hwinfo

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller For better support for future MCI based cards, rename the mci struct member to mci_ports to carry the number of ports on the cards, and add a mci_type member to identify the card type to handle differing hardware. Picked up from the upstream dddvb GIT. Signed-off-by: Danie

[PATCH 03/19] [media] ddbridge: probe for LNBH25 chips before attaching

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller In demod_attach_stv0910(), the LNBH25 IC is being blindly attached and, if the result is bad, blindly attached on another possible I2C address. The LNBH25 uses it's set_voltage function to test for the IC and will print an error to the kernel log on failure. Prevent this by

[PATCH 16/19] [media] ddbridge/mci: add more MCI status codes, improve MCI_SUCCESS macro

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller The MCI can report the command status more finegrained, so, add more status code defines and update the MCI_SUCCESS macro. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-mci.h | 8 ++-- 1 file changed, 6

[PATCH 18/19] [media] ddbridge/sx8: enable modulation selection in set_parameters()

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller Allow for tuning to transponders with specific modulations in set_parameters(). Setting a specific modulation will also enable lower modulations. Picked up from the upstream dddvb GIT. Upstream also has support for APSK64/128/256 modulations which aren't supported yet by th

[PATCH 19/19] [media] ddbridge/mci: add SX8 I/Q mode remark and remove DIAG CMD defines

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller Take note that the SX8 IQ mode is only available on a single tuner, and remove the MCI/SX8 DIAG CMD defines. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-mci.h | 24 1 file changed,

[PATCH 15/19] [media] ddbridge/mci: split MaxSX8 specific code off to ddbridge-sx8.c

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller Split off all code specific to the MaxSX8 cards to a separate ddbridge-sx8 module and hook it up in the Makefile. This also adds evaluation of the mci_type to allow for using different attach handling for different cards. As different cards can implement things differently (

[PATCH 14/19] [media] ddbridge/mci: make ddb_mci_cmd() and ddb_mci_config() public

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller In preparation for splitting all MaxSX8 related code parts from the common MCI code, prefix both mci_cmd() and mci_config() functions with ddb_, remove the static marking and add matching function prototypes to ddbridge-mci.h so these functions can be reused from other files

[PATCH 04/19] [media] ddbridge: evaluate the actual link when setting up the dummy tuner

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller Devices supporting dummy tuner operation can exist on any link, not only on link 0, so fix this accordingly. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-core.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH 05/19] [media] ddbridge: report I2C bus errors

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller The I2C_COMMAND response reports an error in the I2C bus communication using bit 17. Evaluate the response more thoroughly and log an error if an I2C problem was detected. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridg

[PATCH 00/19] dddvb/ddbridge updates as of 2018-06-23

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller A bunch of commits as they appeared in the dddvb upstream GIT as of 2018-06-23, mainly cleanups, cosmetics and code move in preparation for new MCI card types, plus improvements to the existing SX8 code, ie. DVBv5 signal statistics. Also fixes one sparse warning as being re

[PATCH 08/19] [media] ddbridge: change MCI base ID and define a SX8 ID

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller Change the start of the MCI ID range (internally used only) to 48 and define an ID for the SX8 card type. Use this new ID to handle device attachment. This change is done in preparation for support of more MCI based cards. Picked up from the upstream dddvb GIT. Signed-off

[PATCH 01/19] [media] dvb-frontends/mxl5xx: add break to case DVBS2 in get_frontend()

2018-06-23 Thread Daniel Scheller
From: Daniel Scheller Fix one sparse warning: drivers/media/dvb-frontends/mxl5xx.c:731:3: warning: this statement may fall through [-Wimplicit-fallthrough=] as seen in Hans' daily media_tree builds. Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/mxl5xx.c | 1 + 1 file ch

Re: [PATCH v2 2/2] vim2m: add media device

2018-06-23 Thread Hans Verkuil
On 06/21/2018 10:38 PM, Ezequiel Garcia wrote: > From: Hans Verkuil > > Request API requires a media node. Add one to the vim2m driver so we can > use requests with it. > > Signed-off-by: Hans Verkuil > Signed-off-by: Ezequiel Garcia > --- > drivers/media/platform/vim2m.c | 41 +++

Re: [PATCH v2 1/2] media: add helpers for memory-to-memory media controller

2018-06-23 Thread Hans Verkuil
On 06/21/2018 10:38 PM, Ezequiel Garcia wrote: > A memory-to-memory pipeline device consists in three > entities: two DMA engine and one video processing entities. > The DMA engine entities are linked to a V4L interface. > > This commit add a new v4l2_m2m_{un}register_media_controller > API to reg