Re: [PATCH] Revert "media: staging/imx: Allow driver to build if COMPILE_TEST is enabled"

2019-06-05 Thread Randy Dunlap
rivers/staging/media/imx/imx-ic-common.o: in function > `imx_media_ic_register': > imx-ic-common.c:(.text+0xec): undefined reference to `ipu_get_num' > > All these definitions come from the imx ipu3 core driver, so make > sure that imx media depends on IMX_IPUV3_CORE. > > This rev

Re: [PATCH v3 1/9] staging: video: rockchip: add v4l2 decoder

2019-04-10 Thread Randy Li
On 4/10/19 11:57 PM, Nicolas Dufresne wrote: Le mercredi 10 avril 2019 à 20:42 +0800, ayaka a écrit : From: Randy Li TODO: task finish finish a task before it would be dequeued iommu attach won't reload buffers Signed-off-by: Randy Li Signed-off-by: Randy Li --- drivers/staging/Kc

[PATCH] [TEST]: media: vb2: reverse DMA addr of each plane

2019-03-08 Thread Randy Li
previous mail. Besides, this patch won't solve all the problem, if you don't disable the size_aligned of the iova driver or there would be a gap between the plane 0 and plane 1. This patch is used for showing the problem we met not for merging. Signed-off-by: Randy Li --- drivers/me

[PATCH v2 1/6] arm64: dts: rockchip: add power domain to iommu

2019-03-07 Thread Randy Li
From: Randy Li Signed-off-by: Randy Li --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 4 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 ++ 2 files changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 84f14b132e8f

[PATCH v2 4/6] staging: video: rockchip: add video codec

2019-03-07 Thread Randy Li
From: Randy Li Signed-off-by: Randy Li --- drivers/staging/Kconfig | 2 ++ drivers/staging/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index c0901b96cfe4..5f84035e2a89 100644 --- a/drivers/staging/Kconfig +++ b/drivers

[PATCH v2 3/6] [TEST]: rockchip: mpp: support qptable

2019-03-07 Thread Randy Li
I don't care, I don't want to store buffers for a session. I just want to use it to verify the FFmpeg. I want the memory region !!! It can save more time if those data are prepared in userspace. Signed-off-by: Randy Li --- drivers/staging/rockchip-mpp/mpp_dev_common.c | 3 +-- drive

[PATCH v2 0/6] [WIP]: rockchip mpp for v4l2 video deocder

2019-03-07 Thread Randy Li
ink I need to do some work at v4l2 core. Randy Li (6): arm64: dts: rockchip: add power domain to iommu staging: video: rockchip: add v4l2 decoder [TEST]: rockchip: mpp: support qptable staging: video: rockchip: add video codec arm64: dts: rockchip: boost clocks for rk3328 arm64: dts: roc

[PATCH v2 2/6] staging: video: rockchip: add v4l2 decoder

2019-03-07 Thread Randy Li
From: Randy Li It is based on the vendor driver sent to mail list before. Only MPEG2 video for VDPU2 works. And it need a patch to fill the QP table. I have finished the register table of the rkvdec and rk hevc decoder. But I can't feed its proper input stream, I will talk the reason

Re: [PATCH v2] media: docs-rst: Document m2m stateless video decoder interface

2019-01-29 Thread Randy Li
On 1/22/19 2:26 PM, Alexandre Courbot wrote: Documents the protocol that user-space should follow when communicating with stateless video decoders. The stateless video decoding API makes use of the new request and tags APIs. While it has been implemented with the Cedrus driver so far, it shoul

[PATCH v10 1/2] drm/fourcc: Add new P010, P016 video format

2019-01-09 Thread Randy Li
format and rebased. Cc: Daniel Stone Cc: Ville Syrjälä Signed-off-by: Randy Li Signed-off-by: Clint Taylor --- drivers/gpu/drm/drm_fourcc.c | 9 + include/uapi/drm/drm_fourcc.h | 21 + 2 files changed, 30 insertions(+) diff --git a/drivers/gpu/drm/drm_fourcc.c b

[PATCH v10 2/2] drm/fourcc: add a 10bits fully packed variant of NV12

2019-01-09 Thread Randy Li
This pixel format is a fully packed and 10bits variant of NV12. A luma pixel would take 10bits in memory, without any filled bits between pixels in a stride. Signed-off-by: Randy Li --- drivers/gpu/drm/drm_fourcc.c | 4 include/uapi/drm/drm_fourcc.h | 8 2 files changed, 12

[PATCH v10 0/2] Add pixel format for 10 bits YUV video

2019-01-09 Thread Randy Li
for that driver is sent before. Randy Li (2): drm/fourcc: Add new P010, P016 video format drm/fourcc: add a 10bits fully packed variant of NV12 drivers/gpu/drm/drm_fourcc.c | 13 + include/uapi/drm/drm_fourcc.h | 29 + 2 files changed, 42 insertions(+) -- 2.20.1

Re: [PATCH v2 1/2] media: uapi: Add H264 low-level decoder API compound controls.

2019-01-08 Thread Randy 'ayaka' Li
On Thu, Nov 15, 2018 at 03:56:49PM +0100, Maxime Ripard wrote: > From: Pawel Osciak > > Stateless video codecs will require both the H264 metadata and slices in > order to be able to decode frames. > > This introduces the definitions for a new pixel format for H264 slices that > have been parsed

Re: Re: [GIT PULL FOR v5.1] vb2/cedrus: use timestamps to identify buffers[Please note,mail behalf by linux-media-ow...@vger.kernel.org]

2019-01-08 Thread Randy Li
Please don't do that I reply the Re: [PATCHv4 00/10] As was discussed here (among other places): talking about the disadvantage of using the buffer tag, driver won't aware which buffer will be used for current picture unless all the previous  work are done. On 1/7/19 7:36 PM, Hans Verkuil

Re: [PATCHv4 00/10] As was discussed here (among other places):

2019-01-06 Thread Randy Li
On 12/5/18 6:20 PM, hverkuil-ci...@xs4all.nl wrote: From: Hans Verkuil https://lkml.org/lkml/2018/10/19/440 using capture queue buffer indices to refer to reference frames is not a good idea. A better idea is to use a 'tag' where the application can assign a u32 tag to an output buffer, whic

Re: [linux-sunxi] [PATCH v2 1/2] media: v4l: Add definitions for the HEVC slice format and controls

2019-01-06 Thread Randy Li
On 12/12/18 8:51 PM, Paul Kocialkowski wrote: Hi, On Wed, 2018-12-05 at 21:59 +0100, Jernej Škrabec wrote: + +#define V4L2_HEVC_DPB_ENTRY_RPS_ST_CURR_BEFORE 0x01 +#define V4L2_HEVC_DPB_ENTRY_RPS_ST_CURR_AFTER 0x02 +#define V4L2_HEVC_DPB_ENTRY_RPS_LT_CURR0x03 + +#define V4L2_

[PATCH 3/4] staging: video: rockchip: add video codec

2019-01-05 Thread Randy Li
Signed-off-by: Randy Li --- drivers/staging/Kconfig | 2 ++ drivers/staging/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index e4f608815c05..81634dd0a283 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig

[PATCH 2/4] staging: video: rockchip: fixup for upstream

2019-01-05 Thread Randy Li
Fixing those deprecated function from vendor kernel. Removing those features don't exist in upstream kernel. Signed-off-by: Randy Li --- drivers/staging/rockchip-mpp/mpp_dev_common.c | 12 ++-- drivers/staging/rockchip-mpp/mpp_dev_common.h | 2 +- drivers/staging/rockchi

[PATCH 4/4] arm64: dts: rockchip: add video codec for rk3399

2019-01-05 Thread Randy Li
ff-by: Randy Li --- .../boot/dts/rockchip/rk3399-sapphire.dtsi| 29 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 68 +-- 2 files changed, 90 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi b/arch/arm64/boot/dts/rockchip/r

[PATCH 1/4] staging: video: rockchip: video codec for vendor API

2019-01-05 Thread Randy Li
Signed-off-by: Randy Li --- drivers/staging/rockchip-mpp/Kconfig | 52 + drivers/staging/rockchip-mpp/Makefile | 16 + drivers/staging/rockchip-mpp/mpp_debug.h | 87 ++ drivers/staging/rockchip-mpp/mpp_dev_common.c | 971 ++ drivers/staging/rockchip-mpp

[PATCH 0/4] Rockchip: the vendor video codec for reference

2019-01-05 Thread Randy Li
ould attend the FOSDEM 2019, if you have any problem, I think you can catch me easily there. Randy Li (4): staging: video: rockchip: video codec for vendor API staging: video: rockchip: fixup for upstream staging: video: rockchip: add video codec arm64: dts: rockchip: add video codec

[PATCH -next] media: seco-cec: add missing header file to fix build

2018-11-30 Thread Randy Dunlap
From: Randy Dunlap Fix build errors due to missing header file. The header file is inserted first because module-related errors begin showing up in (when CONFIG_ACPI is not set). Sample of build errors: In file included from ../include/linux/acpi.h:27:0, from ../drivers

Re: [Ksummit-discuss] [RFC PATCH 2/3] MAINTAINERS, Handbook: Subsystem Profile

2018-11-16 Thread Randy Dunlap
> +Time Zone / Office Hours > + > + > +Media developers are distributed all around the globe. So, don't assume > +that we're on your time zone. We usually don't work on local holidays or > +at weekends. Please also notice that, during the Kernel merge window, > +we're usually busy ensuring that everything goes smoothly, meaning that > +we usually have a lot of patches waiting for review just after that. So > +you should expect a higher delay during the merge window and one week > +before/after it. > + > + > +Checkpatch / Style cleanups > +--- > + > +Standalone style-cleanups are welcome, but they should be grouped per > +directory. So, for example, if you're doing a cleanup at drivers > +under drivers/media, please send a single patch for all drivers under > +drivers/media/pci, another one for drivers/media/usb and so on. > Cheers.- ~Randy

Re: [PATCH 1/9] mm: Introduce new vm_insert_range API

2018-11-16 Thread Randy Dunlap
On 11/16/18 12:15 AM, Souptick Joarder wrote: > On Fri, Nov 16, 2018 at 12:11 PM Matthew Wilcox wrote: >> >> On Fri, Nov 16, 2018 at 11:00:30AM +0530, Souptick Joarder wrote: >>> On Thu, Nov 15, 2018 at 11:44 PM Randy Dunlap wrote: >>>> On 11/15/18 7:45 AM,

Re: [PATCH 1/9] mm: Introduce new vm_insert_range API

2018-11-15 Thread Randy Dunlap
return ret; For a non-trivial value of page_count: Is it a problem if vm_insert_page() succeeds for several pages and then fails? > + uaddr += PAGE_SIZE; > + } > + > + return ret; > +} > + > +/** > * vm_insert_page - insert single page into user vma > * @vma: user vma to map to > * @addr: target user address of this page thanks. -- ~Randy

Re: linux-next: Tree for Nov 2 (compiler-gcc.h)

2018-11-03 Thread Randy Dunlap
On 11/3/18 3:58 PM, Miguel Ojeda wrote: > On Sat, Nov 3, 2018 at 5:10 PM Randy Dunlap wrote: >> >> No plugins are enabled. >> The failing randconfig file (for x86_64) is attached. > > Confirmed with a built-from-sources 4.8.5 on current master > (d2ff0ff2c23f). T

Re: [PATCH] media: imx-pxp: fix compilation on i386 or x86_64

2018-09-14 Thread Randy Dunlap
IRQF_ONESHOT, dev_name(&pdev->dev), dev); > > Fixes: 51abcf7fdb70 ("media: imx-pxp: add i.MX Pixel Pipeline driver") > Reported-by: Randy Dunlap > Signed-off-by: Philipp Zabel Thanks. You can choose/add: Acked-by: Randy Dunlap Build-tested-by: Randy Dunlap &g

Re: [PATCH v1 1/4] media: rc: introduce BPF_PROG_IR_DECODER

2018-05-14 Thread Randy Dunlap
ile > @@ -5,6 +5,7 @@ obj-y += keymaps/ > obj-$(CONFIG_RC_CORE) += rc-core.o > rc-core-y := rc-main.o rc-ir-raw.o > rc-core-$(CONFIG_LIRC) += lirc_dev.o > +rc-core-$(CONFIG_IR_BPF_DECODER) += ir-bpf-decoder.o -- ~Randy

Re: [PATCH] media: include/video/omapfb_dss.h: use IS_ENABLED()

2018-05-08 Thread Randy Dunlap
On 05/08/2018 03:56 PM, Randy Dunlap wrote: > On 05/05/2018 02:14 PM, Mauro Carvalho Chehab wrote: >> Em Sat, 5 May 2018 10:59:23 -0700 >> Randy Dunlap escreveu: >> >>> On 05/04/2018 01:49 PM, Mauro Carvalho Chehab wrote: >>>> Just checking for ifdefs cau

Re: [PATCH] media: include/video/omapfb_dss.h: use IS_ENABLED()

2018-05-08 Thread Randy Dunlap
On 05/05/2018 02:14 PM, Mauro Carvalho Chehab wrote: > Em Sat, 5 May 2018 10:59:23 -0700 > Randy Dunlap escreveu: > >> On 05/04/2018 01:49 PM, Mauro Carvalho Chehab wrote: >>> Just checking for ifdefs cause build issues as reported by >>> kernel test: >

Re: [PATCH v3 13/14] media: imx7.rst: add documentation for i.MX7 media driver

2018-05-08 Thread Randy Dunlap
unknown/800x600 field:none] > + <- "imx7-mipi-csis.0":1 [ENABLED] > + pad2: Source > + [fmt:unknown/800x600 field:none] > + -> "csi":0 [ENABLED] > + > +- entity 14: imx7-mipi-csis.0 (2 pads, 2 links) > + type V4L2 subdev subtype Unknown flags 0 > + device node name /dev/v4l-subdev2 > + pad0: Sink > + [fmt:SBGGR10_1X10/800x600 field:none] > + <- "ov2680 1-0036":0 [ENABLED] > + pad1: Source > + [fmt:SBGGR10_1X10/800x600 field:none] > + -> "csi_mux":1 [ENABLED] > + > +- entity 17: ov2680 1-0036 (1 pad, 1 link) > + type V4L2 subdev subtype Sensor flags 0 > + device node name /dev/v4l-subdev3 > + pad0: Source > + [fmt:SBGGR10_1X10/800x600 field:none] > + -> "imx7-mipi-csis.0":0 [ENABLED] > + > + > +References > +-- > + > +.. [#f1] https://www.nxp.com/docs/en/reference-manual/IMX7SRM.pdf thanks. -- ~Randy

Re: [PATCH] media: include/video/omapfb_dss.h: use IS_ENABLED()

2018-05-05 Thread Randy Dunlap
ot find the kernel config file nor the kernel test robot's email of this report. Please include an lkml.kernel.org/r/ reference to such emails so that interested parties can join the party. Does this patch apply only to your media tree? so hopefully I can see it in linux-next on Monday. Thanks

Re: linux-next: Tree for Apr 20 (media/platform/marvell-ccic/)

2018-04-20 Thread Randy Dunlap
ing for the current merge release). > > Stats about the size of the tree over time can be seen at > http://neuling.org/linux-next-size.html . > > Status of my local build tests will be at > http://kisskb.ellerman.id.au/linux-next . If maintainers want to give > advice about cross

Re: [RFCv3 15/17] v4l2: document the request API interface

2018-04-14 Thread Randy Dunlap
closed. > > +For all buffer types, the ``request_fd`` field can be used when enqueing Looks like "enqueing" should be enqueueing or enqueuing. > +to specify the file descriptor of a request, if requests are in use. > +Setting it means that the buffer will not be passed to the driver until > +the request itself is submitted. Also, the driver will apply any setting > +associated with the request before processing the buffer. > + > Applications call the ``VIDIOC_DQBUF`` ioctl to dequeue a filled > (capturing) or displayed (output) buffer from the driver's outgoing > queue. They just set the ``type``, ``memory`` and ``reserved`` fields of -- ~Randy

Re: [PATCH v8 1/7] v4l2-dv-timings: add v4l2_hdmi_colorimetry()

2018-02-06 Thread Randy Dunlap
eader needs to be updated to the HDMI 2.0 > + * and CTA-861-G standards. > + */ > +struct v4l2_hdmi_colorimetry > +v4l2_hdmi_rx_colorimetry(const struct hdmi_avi_infoframe *avi, > + const struct hdmi_vendor_infoframe *hdmi, > + unsigned int height) > +{ thanks, -- ~Randy

Re: [RFCv2 05/17] media: Document the media request API

2018-02-01 Thread Randy Dunlap
- Allocate a new request. > +* .. _MEDIA-REQ-CMD-SUBMIT: > + > + - ``MEDIA_REQ_CMD_SUBMIT`` > + - Submit a request to be processed. > +* .. _MEDIA-REQ-CMD-QUEUE: > + > + - ``MEDIA_REQ_CMD_REINIT`` > + - Reinitializes a completed request. Reinitialize to be consistent with other entries above. > + > + > +Return Value > + > + > +On success 0 is returned, on error -1 and the ``errno`` variable is set > +appropriately. The generic error codes are described at the > +:ref:`Generic Error Codes ` chapter. > + > +EINVAL > +The struct :c:type:`media_request_cmd` specifies an invalid command or > +references a non-existing request. > + > +ENOSYS > +Request API is not available on this device. > -- ~Randy

Re: [PATCH v7 2/2] media: V3s: Add support for Allwinner CSI.

2018-01-29 Thread Randy Dunlap
EGMAP_MMIO > + select V4L2_FWNODE > + ---help--- > +Support for the Allwinner Camera Sensor Interface Controller on V3s. thanks, -- ~Randy

Re: [RFC PATCH 6/8] v4l2: document the request API interface

2018-01-26 Thread Randy Dunlap
ess codecs, MIPI cameras, ...) and APIs (Android Codec v2). Hi, Just a quick question: What are IPs? Not Internet Protocols. Hopefully not Intellectual Properties. Maybe Intelligent Processors? thanks, -- ~Randy

Re: [PATCH v6 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-21 Thread Randy Dunlap
On 01/21/2018 09:54 AM, jacopo mondi wrote: > Hi Randy, >thanks for noticing, > > On Fri, Jan 19, 2018 at 02:12:19PM -0800, Randy Dunlap wrote: >> On 01/16/2018 01:44 PM, Jacopo Mondi wrote: >>> Hello, >>>new version of CEU after Hans' review. &

Re: [PATCH v5 1/2] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2018-01-19 Thread Randy Dunlap
k other subsystem's maintainer may expect a Acked-by from you here. > > Why do you use Reviewed-by here instead? The Reviewed-by: tag is a stronger ACK than the Acked-by: tag, so this should be sufficient for other subsystem maintainers. Please see Documentation/process/submitting-patches.rst, section 13. -- ~Randy

Re: [PATCH v6 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-19 Thread Randy Dunlap
n set/try_fmt. I would expect that you have already seen this, but I get a build error in renesas-ceu.c. Here is a small patch for it. --- From: Randy Dunlap Fix build error (on x86 with COMPILE_TEST): ../drivers/media/platform/renesas-ceu.c: In function 'ceu_parse_dt': ../drivers/med

Re: [RFT PATCH v3 0/6] Asynchronous UVC

2018-01-17 Thread Randy Dunlap
Product: USB 2.0 Camera usb 1-1.3: Manufacturer: Sonix Technology Co., Ltd. usb 1-1.3: SerialNumber: SN0001 uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0) BTW, qv4l2 was very useful for this. Thanks, Hans. Tested-by: Randy Dunlap -- ~Randy

Re: [PATCH v2] kernel-doc: parse DECLARE_KFIFO and DECLARE_KFIFO_PTR()

2017-12-08 Thread Randy Dunlap
> So, teach kernel-doc how to parse DECLARE_KFIFO() and DECLARE_KFIFO_PTR(). > > While here, relax at the past DECLARE_foo() macros, accepting a random > number of spaces after comma. > > The addition of DECLARE_KFIFO() was > Suggested-by: Randy Dunlap > > Signed-off-by: Mau

Re: [PATCH] kernel-doc: parse DECLARE_KFIFO_PTR()

2017-12-03 Thread Randy Dunlap
s/DECLARE_HASHTABLE\s*\(([^,)]+),\s*([^,)]+)\)/unsigned > long $1\[1 << (($2) - 1)\]/gos; > + # replace DECLARE_KFIFO_PTR(fifo, type) > + $members =~ s/DECLARE_KFIFO_PTR\s*\(([^,)]+),\s*([^,)]+)\)/$2 \*$1/gos; > create_parameterlist($members, ';', $file); > check_sections($file, $declaration_name, $decl_type, $sectcheck, > $struct_actual, $nested); > > -- ~Randy

Re: [PATCH] media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION

2017-11-21 Thread Randy Dunlap
video codec driver"); >^ > > vim +55 drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c > > 54 > > 55MODULE_LICENSE("GPL v2"); > > --- > 0-DAY kernel test infrastructureOpen Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation > -- ~Randy

[PATCH] media: ddbridge: fix build warnings

2017-11-06 Thread Randy Dunlap
From: Randy Dunlap Fix 2 build warnings. These functions are void, so drop the "return"s. ./drivers/media/pci/ddbridge/ddbridge-io.h: warning: 'return' with a value, in function returning void [enabled by default]: => 50:2, 55:2 Signed-off-by: Randy Dunlap Cc:

Re: [PATCH v7 4/7] media: open.rst: document devnode-centric and mc-centric types

2017-09-27 Thread Randy Dunlap
`related`). > + > +For **MC-centric** media hardware control it is required to configure > +the pipelines via the :ref:`media controller API ` before > +the periferal can be used. For such devices, the sub-devices' configuration > +can be controlled via the :ref:`sub-device API `, which creates one > +device node per sub-device. > + > .. _v4l2_device_naming: > > V4L2 Device Node Naming > -- ~Randy

Re: [PATCH v2 07/13] docs: kernel-doc.rst: add documentation about man pages

2017-09-27 Thread Randy Dunlap
> --- a/Documentation/doc-guide/kernel-doc.rst > +++ b/Documentation/doc-guide/kernel-doc.rst -- ~Randy

Re: [PATCH 07/10] docs: kernel-doc.rst: add documentation about man pages

2017-09-26 Thread Randy Dunlap
() { > + if (/^\.TH \"[^\"]*\" 9 \"([^\"]*)\"/) { > + if ($state == 1) { close OUT } > + $state = 1; > + $fn = "$ARGV[0]/$1.9"; > + print STDERR "Creating $fn\n"; > + open OUT, ">$fn" or die "can't open $fn: $!\n"; > + print OUT $_; > + } elsif ($state != 0) { > + print OUT $_; > + } > + } > + > + close OUT; > -- ~Randy

Re: [PATCH 02/10] docs: kernel-doc.rst: better describe kernel-doc arguments

2017-09-26 Thread Randy Dunlap
escription of parameter argument1 of foobar. > + * @argument1: Description of parameter argument2 of foobar. @argument2: > * > * Longer description of foobar. > * > * Return: Description of return value of foobar. > */ > - int foobar(int arg) > + int foobar(int argument1, char *argument2) -- ~Randy

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
On 08/31/17 10:55, Jani Nikula wrote: > On Thu, 31 Aug 2017, Randy Dunlap wrote: >> On 08/31/17 09:36, Jani Nikula wrote: >>> On Thu, 31 Aug 2017, Jani Nikula wrote: >>>> On Thu, 31 Aug 2017, Randy Dunlap wrote: >>>>> On 08/31/17 07:17, Jonathan Corb

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
On 08/31/17 10:34, Randy Dunlap wrote: > On 08/31/17 09:36, Jani Nikula wrote: >> On Thu, 31 Aug 2017, Jani Nikula wrote: >>> On Thu, 31 Aug 2017, Randy Dunlap wrote: >>>> On 08/31/17 07:17, Jonathan Corbet wrote: >>>>> On Thu, 31 Aug 2017 10:5

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
On 08/31/17 09:36, Jani Nikula wrote: > On Thu, 31 Aug 2017, Jani Nikula wrote: >> On Thu, 31 Aug 2017, Randy Dunlap wrote: >>> On 08/31/17 07:17, Jonathan Corbet wrote: >>>> On Thu, 31 Aug 2017 10:56:26 -0300 >>>> Mauro Carvalho Chehab wrote: >

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
On 08/31/17 09:05, Jani Nikula wrote: > On Thu, 31 Aug 2017, Randy Dunlap wrote: >> On 08/31/17 07:17, Jonathan Corbet wrote: >>> On Thu, 31 Aug 2017 10:56:26 -0300 >>> Mauro Carvalho Chehab wrote: >>> >>>> It should have something to do with pytho

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
On 08/31/17 02:49, Mauro Carvalho Chehab wrote: > Em Wed, 30 Aug 2017 15:02:59 -0700 > Randy Dunlap escreveu: > >> On 08/30/17 14:23, Jonathan Corbet wrote: >>> On Mon, 28 Aug 2017 16:10:09 -0700 >>> Randy Dunlap wrote: >>> >>>> kernel-do

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-31 Thread Randy Dunlap
right thing. The problem is with our own code. If I could > reproduce it, it shouldn't be too hard to track down - take out that > massive "except anything" block and see where it explodes. > > Randy, which distribution are you running, and are you using their version > of Sphinx? opensuse LEAP 42.2 Yes, their sphinx 1.3.1. -- ~Randy

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
On 08/30/17 16:04, Randy Dunlap wrote: > On 08/30/17 16:01, Randy Dunlap wrote: >> On 08/30/17 15:31, Jonathan Corbet wrote: >>> On Wed, 30 Aug 2017 19:15:53 -0300 >>> Mauro Carvalho Chehab wrote: >>> >>>> I suspect that the problem is not related

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
On 08/30/17 16:01, Randy Dunlap wrote: > On 08/30/17 15:31, Jonathan Corbet wrote: >> On Wed, 30 Aug 2017 19:15:53 -0300 >> Mauro Carvalho Chehab wrote: >> >>> I suspect that the problem is not related to the version, but to >>> what you might have set on

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
>> LANG=C.utf-8 >> >> to the Documentation/Makefile > > That's worth a try; Randy, can you give it a quick go? Yes, that fixes it for me. Thanks. >> or adding: >> >> .. -*- coding: utf-8; mode: rst -*- >> >> as the first line on th

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
On 08/30/17 14:23, Jonathan Corbet wrote: > On Mon, 28 Aug 2017 16:10:09 -0700 > Randy Dunlap wrote: > >> kernel-doc parsing uses as ASCII codec, so let people know that >> kernel-doc comments should be in ASCII characters only. >> >> WARNING: kernel-doc &#

[PATCH 2/2] media: dvb-core: fix demux.h non-ASCII characters

2017-08-28 Thread Randy Dunlap
From: Randy Dunlap Fix non-ASCII charactes in kernel-doc comment to prevent the kernel-doc build warning below. WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno ../drivers/media/dvb-core/demux.h' processing failed with: 'ascii' codec can't decode b

[PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-28 Thread Randy Dunlap
From: Randy Dunlap kernel-doc parsing uses as ASCII codec, so let people know that kernel-doc comments should be in ASCII characters only. WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno ../drivers/media/dvb-core/demux.h' processing failed with: 'ascii' code

Re: linux-next: Tree for Jul 21 (drivers/media: use of __WARN())

2017-07-21 Thread Randy Dunlap
dia/platform/soc_camera/soc_mediabus.c:512:3: error: implicit declaration of function ‘__WARN’ [-Werror=implicit-function-declaration] -- ~Randy

[PATCH -next] media: ov5670: add depends to fix build errors

2017-07-20 Thread Randy Dunlap
From: Randy Dunlap Fix build errors by adding dependency on VIDEO_V4L2_SUBDEV_API: ../drivers/media/i2c/ov5670.c: In function 'ov5670_open': ../drivers/media/i2c/ov5670.c:1917:5: error: implicit declaration of function 'v4l2_subdev_get_try_format' [-Werror=implicit-

Re: [PATCH 1/5] [media] rockchip/rga: v4l2 m2m support

2017-07-02 Thread Randy Li
32 mask); +void rga_start(struct rockchip_rga *rga); +void rga_cmd_set(struct rga_ctx *ctx, void *src_mmu_pages, void *dst_mmu_pages); + +#endif -- Randy Li

Re: linux-next: Tree for Jun 8 (drivers/media/i2c/adv7604.c)

2017-06-08 Thread Randy Dunlap
`adv76xx_set_edid': adv7604.c:(.text+0x43daab): undefined reference to `cec_get_edid_phys_addr' adv7604.c:(.text+0x43dabd): undefined reference to `cec_phys_addr_validate' adv7604.c:(.text+0x43df5d): undefined reference to `cec_s_phys_addr' -- ~Randy

Re: [RFC] V4L2 unified low-level decoder API

2017-06-06 Thread Randy Li
On 06/06/2017 03:59 PM, Hugues FRUCHET wrote: Hi Randy, Did you get a chance to review interface ? Oh, I have had look a quick view on it yesterday. The video IP of that platform doesn't come from the On2, right? I would really appreciate your feedback in order that we move forward on

Re: [RFC] V4L2 unified low-level decoder API

2017-05-19 Thread Randy Li
this constraint, but the point here is to define control interface, as far as I have understood code, Request API will not affect those control definitions. Some updates inline thereafter regarding activities on this subject; me for MPEG-2 on ST platform and Randy Li, Nicolas Dufresne, Ayaka for

[PATCH -next] media/platform/mtk-jpeg: add slab.h to fix build errors

2017-03-06 Thread Randy Dunlap
From: Randy Dunlap Include to fix these build errors: ../drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c: In function 'mtk_jpeg_open': ../drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1017:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-functio

[PATCH v6 2/3] v4l: Add 10/16-bits per channel YUV pixel formats

2017-03-05 Thread Randy Li
the V4L2_PIX_FMT_P010, which uses the unused 6 bits to store the next pixel. And with the alignment requirement of the hardware, it usually would be some extra space left at the end of a stride. Signed-off-by: Randy Li --- Documentation/media/uapi/v4l/pixfmt-p010.rst | 126

[PATCH v6 3/3] drm/rockchip: Support 10 bits yuv format in vop

2017-03-05 Thread Randy Li
The rockchip use a special pixel format for those yuv pixel format with 10 bits color depth. Signed-off-by: Randy Li --- drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 1 + drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 34 ++--- drivers/gpu/drm/rockchip

[PATCH v6 1/3] drm_fourcc: Add new P010, P016 video format

2017-03-05 Thread Randy Li
pixel format V6: reversed Cb/Cr order in comments v7: reversed Cb/Cr order in comments of header files, remove the wrong part of commit message. Cc: Daniel Stone Cc: Ville Syrjälä Signed-off-by: Randy Li Signed-off-by: Clint Taylor --- drivers/gpu/drm/drm_fourcc.c | 3 +++ include/uapi/drm

[PATCH v6 0/3] Add pixel format for 10 bits YUV video

2017-03-05 Thread Randy Li
kchip, although it is not common used pixel format, but it could save lots of memory, it may be welcome by the other vendor, also I think the 3GR serial from Intel would use the same pixel format as the video IP comes from rockchip. Randy Li (3): drm_fourcc: Add new P010, P016 video format v4l: Add

Request API: stateless VPU: the buffer mechanism and DPB management

2017-01-16 Thread Randy Li
(It is more important than API compatible especially for those 4K video). And I want to know more ideas about this topic. I would begin the writing the new driver after the coming culture new year vacation(I would go to the Europe), I wish we can decide the final mechanism before I begin this job.

Request API: stateless VPU: the buffer mechanism and DPB management

2017-01-16 Thread Randy Li
Hello all: I have recently finish the learning of the H.264 codec and ready to write the driver. Although I have not get deep in syntax of H.264 but I think I just need to reuse and extended the VA-API H264 Parser from gstreamer. The whole plan in userspace is just injecting a parsing operat

[PATCH] media: fix dm1105.c build error

2017-01-07 Thread Randy Dunlap
From: Randy Dunlap Fix dm1105 build error when CONFIG_I2C_ALGOBIT=m and CONFIG_DVB_DM1105=y. drivers/built-in.o: In function `dm1105_probe': dm1105.c:(.text+0x2836e7): undefined reference to `i2c_bit_add_bus' Signed-off-by: Randy Dunlap Reported-by: kbuild test robot Cc: Javie

[PATCH v2 0/2] Add pixel formats for 10/16 bits YUV video

2017-01-04 Thread Randy Li
pixel formats in v4l2, as it doesn't have a flag like drm does. I have not met the usage of those 16 bits per-channel format, it is a very large color range, even the DSLR only use 12 bits. Randy Li (2): drm_fourcc: Add new P010, P016 video format [media] v4l: Add 10/16-bits per channel YUV

[PATCH v2 2/2] [media] v4l: Add 10/16-bits per channel YUV pixel formats

2017-01-04 Thread Randy Li
s new decoder has supported those 10 bits format for profile_10 HEVC/AVC video. Signed-off-by: Randy Li v4l2 --- Documentation/media/uapi/v4l/pixfmt-p010.rst | 86 Documentation/media/uapi/v4l/pixfmt-p010m.rst | 94 ++ Documentation/media/uapi/v4l/pixfmt-p016.rst

[PATCH v2 1/2] drm_fourcc: Add new P010, P016 video format

2017-01-04 Thread Randy Li
P010 is a planar 4:2:0 YUV with interleaved UV plane, 10 bits per channel video format. Rockchip's vop support this video format(little endian only) as the input video format. P016 is a planar 4:2:0 YUV with interleaved UV plane, 16 bits per channel video format. Signed-off-by: Randy Li

[PATCH 2/2] [media] v4l: Add 10-bits per channel YUV pixel formats

2017-01-02 Thread Randy Li
C/AVC video. Signed-off-by: Randy Li --- include/uapi/linux/videodev2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 46e8a2e3..9e03f20 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videod

[PATCH 1/2] drm_fourcc: Add new P010 video format

2017-01-02 Thread Randy Li
P010 is a planar 4:2:0 YUV with interleaved UV plane, 10 bits per channel video format. Rockchip's vop support this video format(little endian only) as the input video format. Signed-off-by: Randy Li --- include/uapi/drm/drm_fourcc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/in

[PATCH 0/2] Add pixel format for 10 bits YUV video

2017-01-02 Thread Randy Li
Those pixel formats comes from Gstreamer and ffmpeg. Currently, the VOP(video output mixer) found on RK3288 and future support those pixel formats are input. Also the decoder on RK3288 could use them as output. Randy Li (2): drm_fourcc: Add new P010 video format [media] v4l: Add 10-bits per

The update of RockChip media framework plan

2016-12-30 Thread Randy Li
t for those 4K video. The Gstreamer is the only Media Framework who could offer a static interface and easy to extend. Even the Gstreamer, currently I found it could only cover the 80% solution of I would meet, but it is enough for Linux. On 12/23/2016 07:17 PM, Christian Hewitt wrote: Hello Rand

Re: [RFC] V4L2 unified low-level decoder API

2016-11-04 Thread Randy Li
On 11/04/2016 09:55 PM, Hugues FRUCHET wrote: Hi Randy, thanks for reply, some comments below: On 10/27/2016 03:08 AM, Randy Li wrote: On 10/26/2016 11:09 PM, Hugues FRUCHET wrote: Hi, This RFC aims to start discussions in order to define the codec specific controls structures to

Re: [RFC] V4L2 unified low-level decoder API

2016-10-26 Thread Randy Li
ip VDPAU driver supporting it, but it is . * H264 - Pawel Osciak for Rockchip RK3288, RK3399? VPU Support [5] tested with Chromium -> V4L2 - Randy Li for Rockchip RK3288 VPU support [6] tested with VLC? -> libVA + rockchip-va-driver -> V4L2 I only tested it with Gstreamer -> VA-API element

something different ideas from chromium's decoder settings API

2016-10-16 Thread Randy Li
the config store? -- Randy Li The third produce department === This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any

Re: media: rockchip-vpu: I should place the huffman table at kernel or userspace?

2016-09-27 Thread Randy Li
On 09/27/2016 03:52 PM, Hans Verkuil wrote: On 27/09/16 05:43, Randy Li wrote: Hello: I have just done a JPEG HW encoder for the RK3288. I have been told that I can't use the standard way to generate huffman table, the VPU supports only 10 levels with a different huffman table. If I

media: rockchip-vpu: I should place the huffman table at kernel or userspace ?

2016-09-26 Thread Randy Li
So where Should I place the huffman table? -- Randy Li The third produce department === This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privi

Summary of the discussion about Rockchip VPU in Gstreamer

2016-09-19 Thread Randy Li
ugh a book, I hope that it make me explaining the situation easily. -- Randy Li The third produce department === This email message, including any attachments, is for the sole use of the intended recipient(s) and may co

[PATCH 2/2] v4l2-ctrls: add generic H.264 decoder codec settings structure

2016-09-04 Thread Randy Li
The generic decoder settings for H.264. It is modified from the VA-API. Adding the extra data required by the Rockchip. Signed-off-by: Randy Li --- include/uapi/linux/videodev2.h | 103 + 1 file changed, 103 insertions(+) diff --git a/include/uapi/linux

[PATCH RFC 0/2] add the generic H.264 decoder settings controls

2016-09-04 Thread Randy Li
iver rk_v4l2 [3] https://github.com/hizukiayaka/linux-kernel rk3288-media Randy Li (2): [media] v4l2-ctrls: add H.264 decoder settings controls v4l2-ctrls: add generic H.264 decoder codec settings structure drivers/media/v4l2-core/v4l2-ctrls.c | 2 + include/uapi/linux/v4l2-controls.h |

[PATCH 1/2] [media] v4l2-ctrls: add H.264 decoder settings controls

2016-09-04 Thread Randy Li
These two controls would be used to set the H.264 codec settings for decoder. Signed-off-by: Randy Li --- drivers/media/v4l2-core/v4l2-ctrls.c | 2 ++ include/uapi/linux/v4l2-controls.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers

Re: MFC: different h264 profile and level output the same size encoded result

2016-08-28 Thread Randy Li
On 08/29/2016 01:49 PM, Andrzej Hajda wrote: Hi, On 08/27/2016 11:55 AM, Randy Li wrote: Hi: I have been reported that the setting the profile, level and bitrate through the v4l2 extra controls would not make the encoded result different. I tried it recently, it is true. Although the

[PATCH] media: usb: dvb-usb: fix DIBUSB_MB usage of dib3000mc functions

2016-08-28 Thread Randy Dunlap
From: Randy Dunlap The problem is that this driver uses a "common" driver supplement which calls a few dib3000mc*() functions but that driver is not "select"ed by DVB_USB_DIBUSB_MB. We can fix the build errors by selecting DVB_DIB3000MC (at the expense of around 8 KB on x86_6

MFC: different h264 profile and level output the same size encoded result

2016-08-27 Thread Randy Li
Hi: I have been reported that the setting the profile, level and bitrate through the v4l2 extra controls would not make the encoded result different. I tried it recently, it is true. Although the h264 parser would tell me the result have been applied as different h264 profile and level, but

Re: Plan to support Rockchip VPU in DRM, is it a good idea

2016-08-26 Thread Randy Li
On 08/26/2016 06:56 PM, Hans Verkuil wrote: On 08/26/2016 12:05 PM, Randy Li wrote: On 08/26/2016 05:34 PM, Hans Verkuil wrote: Hi Randi, On 08/26/2016 04:13 AM, Randy Li wrote: Hello, We always use some kind of hack work to make our Video Process Unit(Multi-format Video Encoder

Re: Plan to support Rockchip VPU in DRM, is it a good idea

2016-08-26 Thread Randy Li
On 08/26/2016 05:34 PM, Hans Verkuil wrote: Hi Randi, On 08/26/2016 04:13 AM, Randy Li wrote: Hello, We always use some kind of hack work to make our Video Process Unit(Multi-format Video Encoder/Decoder) work in kernel. From a customize driver(vpu service) to the customize V4L2 driver

Plan to support Rockchip VPU in DRM, is it a good idea

2016-08-25 Thread Randy Li
ent in charge of VPU, and I am just beginning to learning DRM(thank the help from Intel again), I am not so good at memory part as well(I am more familiar with CMA not the IOMMU way), I may need know guide about the implementations when I am going to submit driver, I hope I could get help from

[PATCH] dma-buf: fix kernel-doc warning and typos

2016-08-16 Thread Randy Dunlap
From: Randy Dunlap Fix dma-buf kernel-doc warning and 2 minor typos in fence_array_create(). Fixes this warning: ..//drivers/dma-buf/fence-array.c:124: warning: No description found for parameter 'signal_on_any' Signed-off-by: Randy Dunlap Cc: Sumit Semwal Cc: l

Re: [PATCH 0947/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Randy Dunlap
g.com > > Btw, use *just* the more recent email of the maintainer, instead of > spamming trash to all our emails (even to the ones that we don't use > anymore! > > I'll just send all those things to /dev/null until you fix your > email sending process. > +1285

  1   2   3   4   >