Received: by 10.223.176.5 with SMTP id f5csp1173230wra; Wed, 7 Feb 2018 14:06:26 -0800 (PST) X-Google-Smtp-Source: AH8x225fVzZmWDF+ByUZFAIfJMm6pYoBmfXCJEoT0E88sax1Dw3n22Oy9zsK6oyEIyEg0VJzPB7P X-Received: by 10.98.110.202 with SMTP id j193mr7367754pfc.19.1518041186239; Wed, 07 Feb 2018 14:06:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518041186; cv=none; d=google.com; s=arc-20160816; b=HXGvPtz+eEbg+OvWA8qIijK/bZKqQxQcRgy+oJqEfM+uvi+u20/AqBBg9yrcV3xv7L 3+cYG94l6h+MBO+dJBcLcPdQCa9/MLnCtArulsm+YzP93WmNOTOBVyNXT9Nj5p4/24Q0 oMRvaSe1MBetpeTv9T2PtqKSDuoHlAvAoIZlaEh1EyoxlfHuW72Kf1fovZU1XsugByDn pW49eR6kUfAjY+3t5zefVb6f2IYpzqMEZTZZ3Oh6ISREKwaM6485sdxLQ2BDYL2s2w4C 6pBpkhGVAdu5iEBI8UNzur7MwaapGN4BvUZHquBb5RS/YLVWEskK37c8td80C73tBR8K GYNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=fcO6/A/uyp0vqgJFEoZ+G6ZB+ZSLlCeID/0AC/Qcgb0=; b=pExQ0b+dIdhj7ZBLrB8r23o7kkkMNk2zQFj0c01v/7WxPKTbE5hN0Dn0EwuleFduCk dnwepD5ekvXYclsN3AUkbkMSv1QLHMeWnapts5RebolLSbsZ6FaqFNg/3x1I0gc0TmQZ suD1bub6THR1aZAmuqLvOsSPMDb4/uqRIykW9PaQiCzlaadQrikqG289OZYWZrpe8gFD 8nAMDdYlkV8sU24kW9ZkTkvDOtC8nnMjJBjhj+TcfHBypSkcpFeNXjtnJza92+NclCy9 Uo29annQao6iwPfSBs0twVifu3t+utSEIrjb9VAG2qJUlaWSXAFR0dVrW8IyBuJVdvvL +EeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gateworks-com.20150623.gappssmtp.com header.s=20150623 header.b=jeTUY9A+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2-v6si429534pli.77.2018.02.07.14.06.11; Wed, 07 Feb 2018 14:06:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gateworks-com.20150623.gappssmtp.com header.s=20150623 header.b=jeTUY9A+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751022AbeBGWF2 (ORCPT + 99 others); Wed, 7 Feb 2018 17:05:28 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:35979 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750720AbeBGWF0 (ORCPT ); Wed, 7 Feb 2018 17:05:26 -0500 Received: by mail-wr0-f196.google.com with SMTP id y3so2706067wrh.3 for ; Wed, 07 Feb 2018 14:05:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fcO6/A/uyp0vqgJFEoZ+G6ZB+ZSLlCeID/0AC/Qcgb0=; b=jeTUY9A+2UvGsyeiBk5+CmwDSDJw/MUYhgHZoYoHBP1XJkB0K7eDWCmdSni+wT9/Xh YVBvlFiC8Zb0af4LvcKm+eFYhCeiFhp95gS8b2w4Wt42812zC0wAj8bxvzRb0ydX1aj6 owfW2RVp+QagCfP5n5NtC5TxNjFynHk9jB6Dti3MPcZmwQBzwkE4G97pyueXBWpcuZKx Uj2m1ObkmFukhJWjuTppa72S5MswYmMoC65cLU21nHi+tznk7a77nJahTI77qgA2eekc dfp0c3WqQOscW38cWJp7q4y1DViQXKf6VX4uteK+Cx1HSqZG4Rm8KNbnXX4jfPBSAeH3 q7MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fcO6/A/uyp0vqgJFEoZ+G6ZB+ZSLlCeID/0AC/Qcgb0=; b=CwQBefC4KG5r9ocz+BzQR3G7dwIWuPqrSBq7f8AjbxW9xXPdejY/wY8m6znmnjlYfD grp2wL/fRaYCABDwAITYTqcHKNTGm9rKgQ4WJyVZWy6MJzzbEmUB7VWeu52aQqAgZZMT 70CVtYngNeU1tKu2AsNAt/pQCXStJAa+xqCEx7x49jABLOViufprXeZs0pYVrrZ2QPlg 6ah+UipmFIc5WCqZjfMMaG2/0N9vKLRBy12i01vznraDKhV4ppKjMEjCFtiE2M1XJySt 9jvdM4M4um2jHQjuMzmX1QP43cLDR/m9wmTiHhLp8keBH61htEBVTZpQlyP4mM7USNNA A3CQ== X-Gm-Message-State: APf1xPCSOnWCvXUmto/9koGmT3OzfCsOUpuGieruD/9YCk9J2gYxC7yg uDnTXYOarHKS9vccFlRxRiB/LiQUc+sv0CLYQ5i0iQ== X-Received: by 10.223.196.226 with SMTP id o31mr6287503wrf.188.1518041124678; Wed, 07 Feb 2018 14:05:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.66.74 with HTTP; Wed, 7 Feb 2018 14:05:24 -0800 (PST) In-Reply-To: <7cf38465-7a79-5d81-a995-9acfbacf5023@xs4all.nl> References: <1517948874-21681-1-git-send-email-tharvey@gateworks.com> <605fd4a8-43ab-c566-57b6-abb1c9f8f0f8@xs4all.nl> <7cf38465-7a79-5d81-a995-9acfbacf5023@xs4all.nl> From: Tim Harvey Date: Wed, 7 Feb 2018 14:05:24 -0800 Message-ID: Subject: Re: [PATCH v8 0/7] TDA1997x HDMI video reciver To: Hans Verkuil Cc: linux-media , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo , Steve Longerbeam , Philipp Zabel , Hans Verkuil , Mauro Carvalho Chehab Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 7, 2018 at 1:09 AM, Hans Verkuil wrote: > On 02/07/18 09:22, Hans Verkuil wrote: >> On 02/07/2018 12:29 AM, Tim Harvey wrote: >>> Media Controller ioctls: >>> fail: v4l2-test-media.cpp(141): ent.function == >>> MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN >> >> Weird, this shouldn't happen. I'll look into this a bit more. > > Can you run 'mc_nextgen_test -e -i' and post the output? > > It's found in contrib/test. > root@ventana:~# ./v4l-utils/contrib/test/mc_nextgen_test -e -i Device: imx-media (driver imx-media) Bus: version: 0 number of entities: 24 number of interfaces: 24 number of pads: 48 number of links: 50 entity entity#1: 'unknown entity type' adv7180 2-0020, 1 pad(s), 1 source(s) entity entity#3: 'unknown entity type' tda19971 2-0048, 1 pad(s), 1 source(s) entity entity#5: 'unknown entity type' ipu1_vdic, 3 pad(s), 2 sink(s), 1 source(s) entity entity#9: 'unknown entity type' ipu2_vdic, 3 pad(s), 2 sink(s), 1 source(s) entity entity#13: 'unknown entity type' ipu1_ic_prp, 3 pad(s), 1 sink(s), 2 source(s) entity entity#17: 'unknown entity type' ipu1_ic_prpenc, 2 pad(s), 1 sink(s), 1 source(s) entity entity#20: 'V4L I/O' ipu1_ic_prpenc capture, 1 pad(s), 1 sink(s) entity entity#26: 'unknown entity type' ipu1_ic_prpvf, 2 pad(s), 1 sink(s), 1 source(s) entity entity#29: 'V4L I/O' ipu1_ic_prpvf capture, 1 pad(s), 1 sink(s) entity entity#35: 'unknown entity type' ipu2_ic_prp, 3 pad(s), 1 sink(s), 2 source(s) entity entity#39: 'unknown entity type' ipu2_ic_prpenc, 2 pad(s), 1 sink(s), 1 source(s) entity entity#42: 'V4L I/O' ipu2_ic_prpenc capture, 1 pad(s), 1 sink(s) entity entity#48: 'unknown entity type' ipu2_ic_prpvf, 2 pad(s), 1 sink(s), 1 source(s) entity entity#51: 'V4L I/O' ipu2_ic_prpvf capture, 1 pad(s), 1 sink(s) entity entity#57: 'unknown entity type' ipu1_csi0, 3 pad(s), 1 sink(s), 2 source(s) entity entity#61: 'V4L I/O' ipu1_csi0 capture, 1 pad(s), 1 sink(s) entity entity#67: 'unknown entity type' ipu1_csi1, 3 pad(s), 1 sink(s), 2 source(s) entity entity#71: 'V4L I/O' ipu1_csi1 capture, 1 pad(s), 1 sink(s) entity entity#77: 'unknown entity type' ipu2_csi0, 3 pad(s), 1 sink(s), 2 source(s) entity entity#81: 'V4L I/O' ipu2_csi0 capture, 1 pad(s), 1 sink(s) entity entity#87: 'unknown entity type' ipu2_csi1, 3 pad(s), 1 sink(s), 2 source(s) entity entity#91: 'V4L I/O' ipu2_csi1 capture, 1 pad(s), 1 sink(s) entity entity#97: 'unknown entity type' ipu1_csi0_mux, 3 pad(s), 2 sink(s), 1 source(s) entity entity#101: 'unknown entity type' ipu2_csi1_mux, 3 pad(s), 2 sink(s), 1 source(s) interface intf_devnode#21: video /dev/video0 interface intf_devnode#30: video /dev/video1 interface intf_devnode#43: video /dev/video2 interface intf_devnode#52: video /dev/video3 interface intf_devnode#62: video /dev/video4 interface intf_devnode#72: video /dev/video5 interface intf_devnode#82: video /dev/video6 interface intf_devnode#92: video /dev/video7 interface intf_devnode#141: v4l2-subdev /dev/v4l-subdev0 interface intf_devnode#143: v4l2-subdev /dev/v4l-subdev1 interface intf_devnode#145: v4l2-subdev /dev/v4l-subdev2 interface intf_devnode#147: v4l2-subdev /dev/v4l-subdev3 interface intf_devnode#149: v4l2-subdev /dev/v4l-subdev4 interface intf_devnode#151: v4l2-subdev /dev/v4l-subdev5 interface intf_devnode#153: v4l2-subdev /dev/v4l-subdev6 interface intf_devnode#155: v4l2-subdev /dev/v4l-subdev7 interface intf_devnode#157: v4l2-subdev /dev/v4l-subdev8 interface intf_devnode#159: v4l2-subdev /dev/v4l-subdev9 interface intf_devnode#161: v4l2-subdev /dev/v4l-subdev10 interface intf_devnode#163: v4l2-subdev /dev/v4l-subdev11 interface intf_devnode#165: v4l2-subdev /dev/v4l-subdev12 interface intf_devnode#167: v4l2-subdev /dev/v4l-subdev13 interface intf_devnode#169: v4l2-subdev /dev/v4l-subdev14 interface intf_devnode#171: v4l2-subdev /dev/v4l-subdev15 I updated v4l2-compliance and ran again: root@ventana:~# v4l2-compliance -m0 -M v4l2-compliance SHA : b2f8f9049056eb6f9e028927dacb2c715a062df8 Media Driver Info: Driver name : imx-media Model : imx-media Serial : Bus info : Media version : 4.15.0 Hardware revision: 0x00000000 (0) Driver version : 4.15.0 Compliance test for device /dev/media0: Required ioctls: test MEDIA_IOC_DEVICE_INFO: OK Allow for multiple opens: test second /dev/media0 open: OK test MEDIA_IOC_DEVICE_INFO: OK test for unlimited opens: OK Media Controller ioctls: fail: v4l2-test-media.cpp(94): function == MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN fail: v4l2-test-media.cpp(156): checkFunction(ent.function, true) test MEDIA_IOC_G_TOPOLOGY: FAIL fail: v4l2-test-media.cpp(275): num_data_links != num_links test MEDIA_IOC_ENUM_ENTITIES/LINKS: FAIL test MEDIA_IOC_SETUP_LINK: OK Total: 7, Succeeded: 5, Failed: 2, Warnings: 0 Regards, Tim