Set the DMA_MASK and stop using the GFP_DMA flag
Signed-off-by: Fabien Dessenne <fabien.desse...@st.com>
---
drivers/media/platform/sti/hva/hva-mem.c | 2 +-
drivers/media/platform/sti/hva/hva-v4l2.c | 4
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/media/pl
Set the DMA_MASK and stop using the GFP_DMA flag
Signed-off-by: Fabien Dessenne <fabien.desse...@st.com>
---
drivers/media/platform/sti/bdisp/bdisp-hw.c | 2 +-
drivers/media/platform/sti/bdisp/bdisp-v4l2.c | 4
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers
On 14/05/18 12:39, Mauro Carvalho Chehab wrote:
> Em Mon, 14 May 2018 07:35:03 -0300
> Mauro Carvalho Chehab <mchehab+sams...@kernel.org> escreveu:
>
>> Hi Fabien,
>>
>> Em Mon, 14 May 2018 08:00:37 +
>> Fabien DESSENNE <fabien.desse...@st.com&
On 07/05/18 17:19, Mauro Carvalho Chehab wrote:
> Em Mon, 07 May 2018 16:26:08 +0300
> Laurent Pinchart escreveu:
>
>> Hi Mauro,
>>
>> On Saturday, 5 May 2018 19:08:15 EEST Mauro Carvalho Chehab wrote:
>>> There was a recent discussion about the use/abuse of
Hi,
It's almost good!
You have to fix these checkpatch Warning/Check:
WARNING: Block comments use a trailing */ on a separate line
#36: FILE: drivers/media/platform/sti/bdisp/bdisp-hw.c:383:
+ * needing any delays */
CHECK: Alignment should match open parenthesis
#38: FILE:
Hi,
On 16/12/17 12:54, Jia-Ju Bai wrote:
> The driver may sleep under a spinlock.
> The function call path is:
> bdisp_device_run (acquire the spinlock)
>bdisp_hw_reset
> msleep --> may sleep
>
> To fix it, readl_poll_timeout_atomic is used to replace msleep.
>
> This bug is found by my
On 16/12/17 15:14, Mauro Carvalho Chehab wrote:
> Em Sat, 16 Dec 2017 19:53:55 +0800
> Jia-Ju Bai <baijiaju1...@gmail.com> escreveu:
>
>> Hi,
>>
>> On 2017/12/15 22:51, Fabien DESSENNE wrote:
>>> Hi
>>>
>>> On 12/12/17 14:47,
may sleep
>
> To fix it, GFP_KERNEL is replaced with GFP_ATOMIC.
>
> This bug is found by my static analysis tool(DSAC) and checked by my code
> review.
>
> Signed-off-by: Jia-Ju Bai <baijiaju1...@gmail.com>
Reviewed-by: Fabien Dessenne <fabien.desse...@st.com>
> -
Hi
On 12/12/17 14:47, Jia-Ju Bai wrote:
> The driver may sleep under a spinlock.
> The function call path is:
> bdisp_device_run (acquire the spinlock)
>bdisp_hw_reset
> msleep --> may sleep
>
> To fix it, msleep is replaced with mdelay.
May I suggest you to use
On 05/12/17 15:52, Benjamin Gaignard wrote:
> Add SPDX identifiers to files under sti directory
>
> Signed-off-by: Benjamin Gaignard <benjamin.gaign...@st.com>
For the bdisp part:
Reviewed-by: Fabien Dessenne <fabien.desse...@st.com>
> ---
> drivers/media/platf
duplicate assignment. Cleans up the clang warning:
>
> drivers/media/platform/sti/bdisp/bdisp-v4l2.c:726:26: warning: Value
> stored to 'pix' during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.k...@canonical.com>
Reviewed-by: Fabien Dessenne <fa
Hi Thibault
On 13/02/17 20:08, Thibault Saunier wrote:
> From: Javier Martinez Canillas
>
> The media documentation says that the V4L2_COLORSPACE_SMPTE170M colorspace
> should be used for SDTV and V4L2_COLORSPACE_REC709 for HDTV. But drivers
> don't agree on the display
ndr...@samsung.com>
Reviewed-by: Fabien Dessenne <fabien.desse...@st.com>
> ---
> drivers/media/platform/sti/bdisp/bdisp-v4l2.c |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/platform/sti/bdisp/bdisp-v4l2.c
> b/drivers/media/pl
Hi Shailendra
Thank you for the patch.
Could you please update the subject line (try to have it as short as
possible):
- there is no need for the 'platform' keyword. This remark applies to
your other patches.
- write all keywords in lower case (Bdisp -> bdisp). This remark applies
also to
Hi
"4:x:y" refers to chroma subsampling, details here:
https://en.wikipedia.org/wiki/Chroma_subsampling. With "YUV 4:4:4" each
pixel has 1 Luma information and 1 Chroma information: 1 Y + 1 Cb + 1 Cr
= 24 bits per pixel.
In top of that, each of the three components (Y, Cb, Cr) can be stored
gned-off-by: Wei Yongjun <weiyongj...@huawei.com>
Reviewed-by: Fabien Dessenne <fabien.desse...@st.com>
> ---
> drivers/media/platform/sti/bdisp/bdisp-v4l2.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/media/platform/sti/bdisp/bdisp-v4l2.c
> b
atform/soc_camera/atmel-isi.c|2 +-
> drivers/media/platform/soc_camera/rcar_vin.c |2 +-
> drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c |2 +-
For this driver:
> drivers/media/platform/sti/bdisp/bdisp-v4l2.c|2
On 06/27/2016 03:31 PM, Hans Verkuil wrote:
> From: Hans Verkuil <hans.verk...@cisco.com>
>
> Stop using alloc_ctx and just fill in the device pointer.
>
> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>
> Cc: Fabien Dessenne <fabien.desse...@st.com
be_unused bdisp_filter_h_spec bdisp_h_spec[] = {
> ^
>
> Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
Acked-by: Fabien Dessenne <fabien.desse...@st.com>
> ---
> drivers/media/platform/sti/bdisp/bdisp-fil
Hi Ran,
On 12/10/2015 10:46 PM, Ran Shalit wrote:
> On Sun, Dec 6, 2015 at 2:23 AM, Nicolas Dufresne
> wrote:
>> Le dimanche 06 décembre 2015 à 00:00 +0200, Ran Shalit a écrit :
>>> Hello,
>>>
>>> I would like to ask a general question regarding methods to debug a
bdisp_dev-dbg.copy_node shall be a copy of (and not point to)
bdisp_ctx-node, since this resource is freed upon driver release.
Signed-off-by: Fabien Dessenne fabien.desse...@st.com
---
drivers/media/platform/sti/bdisp/bdisp-hw.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
Support the composing (at VIDEO_CAPTURE) with the _selection API.
v4l2-compliance successfully run (test Composing: OK)
Signed-off-by: Fabien Dessenne fabien.desse...@st.com
---
drivers/media/platform/sti/bdisp/bdisp-hw.c | 8 +--
drivers/media/platform/sti/bdisp/bdisp-v4l2.c | 76
Add this missing debug information
Signed-off-by: Fabien Dessenne fabien.desse...@st.com
---
drivers/media/platform/sti/bdisp/bdisp-debug.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/media/platform/sti/bdisp/bdisp-debug.c
b/drivers/media/platform/sti/bdisp/bdisp-debug.c
Carvalho Chehab; Fabien DESSENNE
Subject: [PATCH 2/2] [media] bdisp-debug: don't try to divide by s64
There are several warnings there, on some architectures, related to dividing
a s32 by a s64 value:
drivers/media/platform/sti/bdisp/bdisp-debug.c:594: warning: comparison
of distinct pointer
Acked-by: Fabien Dessenne fabien.desse...@st.com
-Original Message-
From: Mauro Carvalho Chehab [mailto:mche...@osg.samsung.com]
Sent: jeudi 11 juin 2015 12:37
To: Fabien DESSENNE
Cc: Linux Media Mailing List; Mauro Carvalho Chehab
Subject: Re: [PATCH 2/2] [media] bdisp-debug: don't
Acked-by: Fabien Dessenne fabien.desse...@st.com
-Original Message-
From: linux-media-ow...@vger.kernel.org [mailto:linux-media-
ow...@vger.kernel.org] On Behalf Of Mauro Carvalho Chehab
Sent: mercredi 10 juin 2015 17:35
To: Linux Media Mailing List
Cc: Mauro Carvalho Chehab; Mauro
, width and height are unsigned.
Signed-off-by: Fabien Dessenne fabien.desse...@st.com
---
drivers/media/platform/sti/bdisp/bdisp-v4l2.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/media/platform/sti/bdisp/bdisp-v4l2.c
b/drivers/media/platform/sti/bdisp/bdisp-v4l2.c
From: Mauro Carvalho Chehab [mailto:mche...@osg.samsung.com]
Sent: samedi 6 juin 2015 12:43
To: Fabien DESSENNE
Cc: linux-media@vger.kernel.org; Benjamin Gaignard; Hugues FRUCHET
Subject: Re: [PATCH v3 2/3] [media] bdisp: 2D blitter driver using v4l2
mem2mem framework
Em Tue, 12 May 2015
OK, I will take care of this new driver.
-Original Message-
From: Hans Verkuil [mailto:hverk...@xs4all.nl]
Sent: lundi 8 juin 2015 14:24
To: Linux Media Mailing List; Fabien DESSENNE
Subject: [PATCH] bdisp: update MAINTAINERS
Add entry for the bdisp driver to the MAINTAINERS file
OK,
Acked-by: Fabien Dessenne fabien.desse...@st.com
-Original Message-
From: Hans Verkuil [mailto:hverk...@xs4all.nl]
Sent: lundi 8 juin 2015 16:33
To: Fabien DESSENNE; Linux Media Mailing List
Subject: Re: [PATCH] bdisp: update MAINTAINERS
On 06/08/2015 03:36 PM, Fabien
This adds DT binding documentation for STMicroelectronics bdisp driver.
Signed-off-by: Fabien Dessenne fabien.desse...@st.com
---
.../devicetree/bindings/media/st,stih4xx.txt | 32 ++
1 file changed, 32 insertions(+)
create mode 100644 Documentation/devicetree/bindings
Creates 5 debugfs entries to dump the last HW request, the last HW node
(=command), the HW registers and the recent HW performance (time fps)
Signed-off-by: Fabien Dessenne fabien.desse...@st.com
---
drivers/media/platform/sti/bdisp/Makefile | 2 +-
drivers/media/platform/sti/bdisp/bdisp
Test input 0:
Stream using all formats:
Not supported for M2M devices
Total: 42, Succeeded: 42, Failed: 0, Warnings: 12
root@st:~#
Fabien Dessenne (3):
[media] bdisp: add DT bindings documentation
[media] bdisp: 2D blitter driver using v4l2 mem2mem framework
[media] bdisp: add
-off-by: Fabien Dessenne fabien.desse...@st.com
---
drivers/media/platform/Kconfig | 10 +
drivers/media/platform/Makefile |2 +
drivers/media/platform/sti/bdisp/Kconfig|9 +
drivers/media/platform/sti/bdisp/Makefile |3 +
drivers/media
testBasicSelection defines which of capture and output supports crop
(resp. compose).
testBasicCrop (resp. testBasicCompose) shall be run only for the
supported buf_type.
Change-Id: I0a81e826eb7bc8a318a9d833426d802fedce46c9
Signed-off-by: Fabien Dessenne fabien.desse...@st.com
---
utils/v4l2
that are implemented in bdisp-hw.c.
The additional bdisp-debug.c file manages some debugfs entries.
Fabien Dessenne (3):
[media] bdisp: add DT bindings documentation
[media] bdisp: 2D blitter driver using v4l2 mem2mem framework
[media] bdisp: add debug file system
.../devicetree/bindings/media/st
This adds DT binding documentation for STMicroelectronics bdisp driver.
Signed-off-by: Fabien Dessenne fabien.desse...@st.com
---
.../devicetree/bindings/media/st,stih4xx.txt | 32 ++
1 file changed, 32 insertions(+)
create mode 100644 Documentation/devicetree/bindings
Creates 5 debugfs entries to dump the last HW request, the last HW node
(=command), the HW registers and the recent HW performance (time fps)
Signed-off-by: Fabien Dessenne fabien.desse...@st.com
---
drivers/media/platform/sti/bdisp/Makefile | 2 +-
drivers/media/platform/sti/bdisp/bdisp
-off-by: Fabien Dessenne fabien.desse...@st.com
---
drivers/media/platform/Kconfig | 10 +
drivers/media/platform/Makefile |2 +
drivers/media/platform/sti/bdisp/Kconfig|9 +
drivers/media/platform/sti/bdisp/Makefile |3 +
drivers/media
Fabien
-Original Message-
From: Hans Verkuil [mailto:hverk...@xs4all.nl]
Sent: lundi 27 avril 2015 18:26
To: Fabien DESSENNE; linux-media@vger.kernel.org
Cc: Benjamin Gaignard
Subject: Re: [PATCH 0/3] Add media bdisp driver for stihxxx platforms
Hi Fabien,
Thank you for this driver
This adds DT binding documentation for STMicroelectronics bdisp driver.
Signed-off-by: Fabien Dessenne fabien.desse...@st.com
---
.../devicetree/bindings/media/st,stih4xx.txt | 32 ++
1 file changed, 32 insertions(+)
create mode 100644 Documentation/devicetree/bindings
Creates 5 debugfs entries to dump the last HW request, the last HW node
(=command), the HW registers and the recent HW performance (time fps)
Signed-off-by: Fabien Dessenne fabien.desse...@st.com
---
drivers/media/platform/bdisp/Makefile | 2 +-
drivers/media/platform/bdisp/bdisp-debug.c
-off-by: Fabien Dessenne fabien.desse...@st.com
---
drivers/media/platform/Kconfig | 10 +
drivers/media/platform/Makefile |2 +
drivers/media/platform/bdisp/Kconfig|9 +
drivers/media/platform/bdisp/Makefile |3 +
drivers/media/platform/bdisp
that are implemented in bdisp-hw.c.
The additional bdisp-debug.c file manages some debugfs entries.
Fabien Dessenne (3):
[media] bdisp: add DT bindings documentation
[media] bdisp: 2D blitter driver using v4l2 mem2mem framework
[media] bdisp: add debug file system
.../devicetree/bindings/media/st
44 matches
Mail list logo