Re: [PATCH 2/5] v4l: controls: Add support for exponential bases, prefixes and units

2018-10-13 Thread Pavel Machek
Hi! > Add support for exponential bases, prefixes as well as units for V4L2 > controls. This makes it possible to convey information on the relation > between the control value and the hardware feature being controlled. > > Signed-off-by: Sakari Ailus Sounds good. > +/* V4L2 control exponentia

cron job: media_tree daily build: OK

2018-10-13 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 Oct 14 05:00:09 CEST 2018 media-tree git hash:8caec72e8cbff65afa38928197bea5a393b67975 media_build gi

Re: question about V4L2_MEMORY_USERPTR on 64bit applications

2018-10-13 Thread Eugene Syromiatnikov
On Fri, Oct 12, 2018 at 10:52:51AM +0530, tbhar...@codeaurora.org wrote: > (in 64 bit userspace long is 32-bit) Not on Linux. $ cat /tmp/c.c int main(void) { return sizeof(long); } $ gcc /tmp/c.c $ ./a.out; echo $? 8 $ file ./a.out ./a.out: ELF 64-bit LSB pie executable, 64-bit PowerPC or

Re: [PATCH] media: intel-ipu3: cio2: Remove redundant definitions

2018-10-13 Thread Sakari Ailus
On Fri, Oct 12, 2018 at 07:00:44PM +, Mani, Rajmohan wrote: > Hi Bingbu, Kieren, > > > Subject: Re: [PATCH] media: intel-ipu3: cio2: Remove redundant definitions > > > > > > > > On 10/11/2018 05:33 PM, Kieran Bingham wrote: > > > Hi Rajmohan > > > > > > Thank you for the patch, > > > > > >

Re: [PATCH 2/2] ipu3-cio2: Use cio2_queues_exit

2018-10-13 Thread Sakari Ailus
On Thu, Oct 11, 2018 at 05:16:30PM +0800, Bing Bu Cao wrote: > Tested-by: Bingbu Cao > Reviewed-by: Bingbu Cao Thanks!! -- Sakari Ailus sakari.ai...@linux.intel.com

Re: [PATCH v3 1/6] media: video-i2c: avoid accessing released memory area when removing driver

2018-10-13 Thread Matt Ranostay
On Sat, Oct 13, 2018 at 11:02 AM Akinobu Mita wrote: > > The video device release() callback for video-i2c driver frees the whole > struct video_i2c_data. If there is no user left for the video device > when video_unregister_device() is called, the release callback is executed. > > However, in vi

Re: [alsa-devel] [PATCH 4/8] sound: hpios: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Takashi Iwai
On Sat, 13 Oct 2018 18:35:40 +0200, Christoph Hellwig wrote: > > On Sat, Oct 13, 2018 at 06:18:28PM +0200, Takashi Iwai wrote: > > On Sat, 13 Oct 2018 17:17:03 +0200, > > Christoph Hellwig wrote: > > > > > > The DMA API does its own zone decisions based on the coherent_dma_mask. > > > > > > Sign

[PATCH v3 3/6] media: v4l2-common: add V4L2_FRACT_COMPARE

2018-10-13 Thread Akinobu Mita
Add macro to compare two v4l2_fract values in v4l2 common internal API. The same macro FRACT_CMP() is used by vivid and bcm2835-camera. This just renames it to V4L2_FRACT_COMPARE in order to avoid namespace collision. Cc: Matt Ranostay Cc: Sakari Ailus Cc: Hans Verkuil Cc: Mauro Carvalho Cheha

[PATCH v3 6/6] media: video-i2c: support runtime PM

2018-10-13 Thread Akinobu Mita
AMG88xx has a register for setting operating mode. This adds support runtime PM by changing the operating mode. The instruction for changing sleep mode to normal mode is from the reference specifications. https://docid81hrs3j1.cloudfront.net/medialibrary/2017/11/PANA-S-A0002141979-1.pdf Cc: Mat

[PATCH v3 4/6] media: vivid: use V4L2_FRACT_COMPARE

2018-10-13 Thread Akinobu Mita
Now the equivalent of FRACT_CMP() is added in v4l2 common internal API header. Cc: Matt Ranostay Cc: Sakari Ailus Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Acked-by: Sakari Ailus Signed-off-by: Akinobu Mita --- * v3 - Add Acked-by line drivers/media/platform/vivid/vivid-vid-cap.c | 9 +++-

[PATCH v3 5/6] media: video-i2c: support changing frame interval

2018-10-13 Thread Akinobu Mita
AMG88xx has a register for setting frame rate 1 or 10 FPS. This adds support changing frame interval. Reference specifications: https://docid81hrs3j1.cloudfront.net/medialibrary/2017/11/PANA-S-A0002141979-1.pdf Cc: Matt Ranostay Cc: Sakari Ailus Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Acke

[PATCH v3 2/6] media: video-i2c: use i2c regmap

2018-10-13 Thread Akinobu Mita
Use regmap for i2c register access. This simplifies register accesses and chooses suitable access commands based on the functionality that the adapter supports. Cc: Matt Ranostay Cc: Sakari Ailus Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Acked-by: Matt Ranostay Acked-by: Sakari Ailus Signe

[PATCH v3 1/6] media: video-i2c: avoid accessing released memory area when removing driver

2018-10-13 Thread Akinobu Mita
The video device release() callback for video-i2c driver frees the whole struct video_i2c_data. If there is no user left for the video device when video_unregister_device() is called, the release callback is executed. However, in video_i2c_remove() some fields (v4l2_dev, lock, and queue_lock) in

[PATCH v3 0/6] media: video-i2c: support changing frame interval and runtime PM

2018-10-13 Thread Akinobu Mita
This patchset adds support for changing frame interval and runtime PM for video-i2c driver. This also adds an helper macro to v4l2 common internal API that is used to to find a suitable frame interval. There are a couple of unrelated changes that are included for simplifying driver initialization

Re: [alsa-devel] [PATCH 4/8] sound: hpios: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Christoph Hellwig
On Sat, Oct 13, 2018 at 06:18:28PM +0200, Takashi Iwai wrote: > On Sat, 13 Oct 2018 17:17:03 +0200, > Christoph Hellwig wrote: > > > > The DMA API does its own zone decisions based on the coherent_dma_mask. > > > > Signed-off-by: Christoph Hellwig > > Reviewed-by: Takashi Iwai > > > Would yo

Re: [alsa-devel] [PATCH 5/8] sound: intel/sst: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Takashi Iwai
On Sat, 13 Oct 2018 17:17:04 +0200, Christoph Hellwig wrote: > > The DMA API does its own zone decisions based on the coherent_dma_mask. > > Signed-off-by: Christoph Hellwig Reviewed-by: Takashi Iwai thanks, Takashi > --- > sound/soc/intel/common/sst-firmware.c | 2 +- > 1 file changed, 1

Re: [alsa-devel] [PATCH 4/8] sound: hpios: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Takashi Iwai
On Sat, 13 Oct 2018 17:17:03 +0200, Christoph Hellwig wrote: > > The DMA API does its own zone decisions based on the coherent_dma_mask. > > Signed-off-by: Christoph Hellwig Reviewed-by: Takashi Iwai Would you like to take this as a series, or shall I take individually through sound tree?

[PATCH 7/8] media: sti/bdisp: don't pass GFP_DMA32 to dma_alloc_attrs

2018-10-13 Thread Christoph Hellwig
The DMA API does its own zone decisions based on the coherent_dma_mask. Signed-off-by: Christoph Hellwig --- drivers/media/platform/sti/bdisp/bdisp-hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/sti/bdisp/bdisp-hw.c b/drivers/media/platform/sti/b

[PATCH 3/8] spi: pic32-sqi: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Christoph Hellwig
The DMA API does its own zone decisions based on the coherent_dma_mask. Signed-off-by: Christoph Hellwig --- drivers/spi/spi-pic32-sqi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-pic32-sqi.c b/drivers/spi/spi-pic32-sqi.c index bd1c6b53283f..ab53e461d80f

[PATCH 5/8] sound: intel/sst: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Christoph Hellwig
The DMA API does its own zone decisions based on the coherent_dma_mask. Signed-off-by: Christoph Hellwig --- sound/soc/intel/common/sst-firmware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c in

[PATCH 4/8] sound: hpios: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Christoph Hellwig
The DMA API does its own zone decisions based on the coherent_dma_mask. Signed-off-by: Christoph Hellwig --- sound/pci/asihpi/hpios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/asihpi/hpios.c b/sound/pci/asihpi/hpios.c index 5ef4fe964366..7c91330af719 100644 --

[PATCH 6/8] drm: sti: don't pass GFP_DMA32 to dma_alloc_wc

2018-10-13 Thread Christoph Hellwig
The DMA API does its own zone decisions based on the coherent_dma_mask. Signed-off-by: Christoph Hellwig --- drivers/gpu/drm/sti/sti_gdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_gdp.c b/drivers/gpu/drm/sti/sti_gdp.c index c32de6cbf061..cdf0a13

[PATCH 1/8] cpufreq: tegra186: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Christoph Hellwig
The DMA API does its own zone decisions based on the coherent_dma_mask. Signed-off-by: Christoph Hellwig --- drivers/cpufreq/tegra186-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/tegra186-cpufreq.c b/drivers/cpufreq/tegra186-cpufreq.c index 1f599

[PATCH 2/8] firmware: tegra: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Christoph Hellwig
The DMA API does its own zone decisions based on the coherent_dma_mask. Signed-off-by: Christoph Hellwig --- drivers/firmware/tegra/bpmp-debugfs.c | 11 +-- drivers/firmware/tegra/bpmp.c | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/firmware/tegr

[PATCH 8/8] fsl-diu-fb: don't pass GFP_DMA32 to dmam_alloc_coherent

2018-10-13 Thread Christoph Hellwig
The DMA API does its own zone decisions based on the coherent_dma_mask. Signed-off-by: Christoph Hellwig --- drivers/video/fbdev/fsl-diu-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/fsl-diu-fb.c b/drivers/video/fbdev/fsl-diu-fb.c index bc9eb8afc313

remove bogus GFP_DMA32 flags for dma allocations

2018-10-13 Thread Christoph Hellwig
dma_alloc_* internally selects the zone to allocate from based on the DMA mask. Remove all explicit uses of GFP_DMA32 with dma_alloc_*.

Re: [PATCH 4/7] mfd: ds90ux9xx: add TI DS90Ux9xx de-/serializer MFD driver

2018-10-13 Thread Vladimir Zapolskiy
Hi Laurent, On 10/12/2018 04:01 PM, Laurent Pinchart wrote: > Hello Vladimir, > > On Friday, 12 October 2018 14:47:52 EEST Kieran Bingham wrote: >> On 12/10/18 11:58, Vladimir Zapolskiy wrote: [snip] >> Essentially they are multi purpose buses - which do not yet have a home. >> We have used med

Re: [PATCH 1/7] dt-bindings: mfd: ds90ux9xx: add description of TI DS90Ux9xx ICs

2018-10-13 Thread Vladimir Zapolskiy
Hi Laurent, thank you for review, please find my comments below. On 10/12/2018 02:44 PM, Laurent Pinchart wrote: > Hi Vladimir, > > Thank you for the patch. > > On Tuesday, 9 October 2018 00:11:59 EEST Vladimir Zapolskiy wrote: >> From: Sandeep Jain >> >> The change adds device tree binding de

Re: [PATCH 3/7] dt-bindings: pinctrl: ds90ux9xx: add description of TI DS90Ux9xx pinmux

2018-10-13 Thread Vladimir Zapolskiy
Hi Laurent, thank you for review, please find my comments below. On 10/12/2018 03:01 PM, Laurent Pinchart wrote: > Hi Vladimir, > > Thank you for the patch. > > On Tuesday, 9 October 2018 00:12:01 EEST Vladimir Zapolskiy wrote: >> From: Vladimir Zapolskiy >> >> TI DS90Ux9xx de-/serializers hav

Re: [PATCH 4/7] mfd: ds90ux9xx: add TI DS90Ux9xx de-/serializer MFD driver

2018-10-13 Thread Vladimir Zapolskiy
Hi Kieran, On 10/12/2018 02:47 PM, Kieran Bingham wrote: > Hi Vladimir, > [snip] > > Essentially they are multi purpose buses - which do not yet have a home. > We have used media as a home because of our use case. > > The use case whether they transfer frames from a camera or to a display > a

Re: [PATCH RESEND] Revert "media: dvbsky: use just one mutex for serializing device R/W ops"

2018-10-13 Thread Lars Buerding
On 05.10.2018 17:30, Mauro Carvalho Chehab wrote: > Em Fri, 5 Oct 2018 16:34:28 +0200 > Oliver Freyermuth escreveu: > >> Dear Mauro, >> >> thanks! Just to clarify, the issue I described in >> https://bugzilla.kernel.org/show_bug.cgi?id=199323 >> was on an Intel x86_64 system, with an onboard US

???????? ??ó?? ?ú??é??? ????á???

2018-10-13 Thread Escuela 398, Justo Daract
? , ??? ??? 100 ?? , ?? ?? ??? ??? ?? ??? ?, ?? ? ? ? ?. ? ? ? ?, ??? ?? ?? ? ? ??? ??, ? ? ? ? ?