Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1828209ybl; Thu, 30 Jan 2020 06:45:10 -0800 (PST) X-Google-Smtp-Source: APXvYqxs5zdb6scu3ohEmDchRyuiFBwwi9AUjHTtgqIVJ/pHx6eOvkDlty19fMt5MAurXrD9zIyB X-Received: by 2002:a05:6830:13d3:: with SMTP id e19mr3812680otq.135.1580395510821; Thu, 30 Jan 2020 06:45:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580395510; cv=none; d=google.com; s=arc-20160816; b=YIhn0mBY4UqeoPFg2reNRJr3xJvRs+MPCft4gdgV4Gr3/klGapRjgvcUHbd/PZztAx akxp1rky2jWbVlgYM/5UaATxiXSoDw98IMm2Ar37t4EU26sGA7TMWC+NQtQpKr6AiPZl LPSiGvmX9V4oc8RngX736xSWSM8Tup8FEtU9ifquG5kmIYBVRb/iv3d9332m9pm3zcjI P4/PaVyglGmJ/SmSmJomMG9MzHJ1KvHp31D5q62BPXFyw5eWIwTiKjxDOQO5LgbelvpC iPuG8uq4U/0dJPTgirH7qEdhLUXL08bZ+VTEur/NtsH3j6Ge3wl7KLw61IYg4JAKYFPI 6itA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=QnPaP0j7tU+614rpIwXLpxlJdA4DU0xJ3ZxN1G79ADQ=; b=OlQ3MkfiuqUGyhU+miJ6PAhaqtCdcLzH18KfsaTeykm1wcW/Umgl8NcT83lrGQEvTd 7IzPiSfLAuwnTx4osCPdrGUJ2Kl30nq0Rj6WUyt2HlGGiPFsEbTXqxRdfFgwRWgyMZBX sK5rjQZ41YslAmGxNaAjZOCVi3vY7ZirPxNNFhyCupGQCP284HTnziCnCsmf5ql4sYmb kj8p2K1mMJtlM3CgOP9yZ63Kp0HL+ZNgQmKQwy9oucDHaLaoKFUopBX5qbcRfA2zA/ah fraDvGxnp4XoEZrgbT65PZutIbCUT8TV7YLuzUBEIUZGrCSqPGXro4883Msb6O7xMciO 00Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xs4all.nl header.s=s1 header.b=r75JM9pR; 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 y12si2966149oti.162.2020.01.30.06.44.57; Thu, 30 Jan 2020 06:45:10 -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=@xs4all.nl header.s=s1 header.b=r75JM9pR; 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 S1727376AbgA3Ol6 (ORCPT + 99 others); Thu, 30 Jan 2020 09:41:58 -0500 Received: from lb2-smtp-cloud8.xs4all.net ([194.109.24.25]:34339 "EHLO lb2-smtp-cloud8.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726902AbgA3Ol5 (ORCPT ); Thu, 30 Jan 2020 09:41:57 -0500 Received: from [IPv6:2001:420:44c1:2577:91db:5aec:4999:a214] ([IPv6:2001:420:44c1:2577:91db:5aec:4999:a214]) by smtp-cloud8.xs4all.net with ESMTPA id xB0wi8DaDn7E5xB10ihO2H; Thu, 30 Jan 2020 15:41:54 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1580395314; bh=QnPaP0j7tU+614rpIwXLpxlJdA4DU0xJ3ZxN1G79ADQ=; h=Subject:To:From:Message-ID:Date:MIME-Version:Content-Type:From: Subject; b=r75JM9pRExf82CZ7FTBGlvkFhPkPpCm2DkdDJINO6iJLHjtBlgmFv1Cb74Y4xU1HN 5j+JSYi9g1tRZeqf/i7OM7IWlauH0nRLUzf4RRH7Ak064pkFjkAETMb9YMWxqNnerj Xq8asYxF8w2DfV3MM0LpaztPE65XxDhvBLat//JhmNq3OMXhdCrs9c3CdrhNx7nBZr zSnMiyirRNlq6PratqnuLv0kpm1MFxIDyqsrbx03Hppe6Lc60YNP8qriaTUr+vLA3H XBun4lMMYIk4G/Of9cUwzOKulAqDHCVd6ArajwBXxWQ8o/LXYZ7UGjDxnSlmtwaptf +vsndPF+uLtsg== Subject: Re: [RFC PATCH v1 0/5] Add Tegra driver for video capture To: Sowjanya Komatineni , thierry.reding@gmail.com, jonathanh@nvidia.com, frankc@nvidia.com Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <1580235801-4129-1-git-send-email-skomatineni@nvidia.com> From: Hans Verkuil Message-ID: Date: Thu, 30 Jan 2020 15:41:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <1580235801-4129-1-git-send-email-skomatineni@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfN+R3ebeiMNb2jJ1P75j291PEX7Nx0Vzuu5rpXhX/cJ38nUz/4cnLiRCfwVJYfJCp/PkuNx0rQWRF/xNAiuZxjbGS1z51MggWPtc4+dtx+wXvGHWJJKu cyfZmlbdcWigV2+QEOY+HCeV/V34tI23h763YO8GoG2/NECw0Neg+njWR/4eurtljC2w5qduoYwUDJ4JlT5BCsXEzix3dUiZsqdYgpq15Jr6evsknO11Lc9/ ZhKgWLbF4iGzuTUG6BqLqGc0F2MlCvBBltw5wI9DSDwcd4m+VQAMibmVIfJrniLo3mRCV+A5Saceg9UlQNa26uTo7q/BVZWJA6WodoTqS/ySvEOfSbjufqUT 2mG55hSvr7OJbhx1Y4g8iugiAB4nojbnAKFx7eAKAicO8xqLeO+qWiI/Zk4V44ywXScsZdieB2CA92LkRmjnbC/xJPdzqGk+QTUyYuS7U/Sk6ybPJ/TA1pxb 8MWxU5lkx88SLfdOppp29RZAkVnbvNicF38sw5TAiu5TmtLBp4hl397SG8C1xNC0eUE1J9m7YyMpygeCX04Kv00Ns5mEN7cJLTOIghbfUwZP3hDtVC36H0BW znA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sowjanya, On 1/28/20 7:23 PM, Sowjanya Komatineni wrote: > This series adds Tegra210 VI and CSI driver for built-in test pattern > generator (TPG) capture. > > Tegra210 supports max 6 channels on VI and 6 ports on CSI where each > CSI port is one-to-one mapped to VI channel for video capture. > > This series has TPG support only where it creates hard media links > between CSI subdevice and VI video device without device graphs. > > v4l2-compliance results are available below the patch diff. > > [v0]: Includes, > - Adds CSI TPG clock to Tegra210 clock driver > - Host1x video driver with VI and CSI clients. > - Support for Tegra210 only. > - VI CSI TPG support with hard media links in driver. > - Video formats supported by Tegra210 VI > - CSI TPG supported video formats I'm trying to compile this patch series using the media_tree master branch (https://git.linuxtv.org//media_tree.git), but it fails: drivers/staging/media/tegra/tegra-channel.c: In function ‘tegra_channel_queue_setup’: drivers/staging/media/tegra/tegra-channel.c:71:15: warning: unused variable ‘count’ [-Wunused-variable] 71 | unsigned int count = *nbuffers; | ^~~~~ drivers/staging/media/tegra/tegra-channel.c: In function ‘tegra_channel_init’: drivers/staging/media/tegra/tegra-channel.c:518:55: error: ‘struct host1x_client’ has no member named ‘host’ 518 | struct tegra_camera *cam = dev_get_drvdata(vi->client.host); | ^ make[4]: *** [scripts/Makefile.build:265: drivers/staging/media/tegra/tegra-channel.o] Error 1 make[4]: *** Waiting for unfinished jobs.... drivers/staging/media/tegra/tegra-vi.c: In function ‘tegra_vi_tpg_graph_init’: drivers/staging/media/tegra/tegra-vi.c:157:55: error: ‘struct host1x_client’ has no member named ‘host’ 157 | struct tegra_camera *cam = dev_get_drvdata(vi->client.host); | ^ drivers/staging/media/tegra/tegra-vi.c: In function ‘tegra_vi_init’: drivers/staging/media/tegra/tegra-csi.c: In function ‘tegra_csi_init’: drivers/staging/media/tegra/tegra-vi.c:213:51: error: ‘struct host1x_client’ has no member named ‘host’ 213 | struct tegra_camera *cam = dev_get_drvdata(client->host); | ^~ drivers/staging/media/tegra/tegra-csi.c:259:51: error: ‘struct host1x_client’ has no member named ‘host’ 259 | struct tegra_camera *cam = dev_get_drvdata(client->host); | ^~ drivers/staging/media/tegra/tegra-vi.c: In function ‘tegra_vi_exit’: drivers/staging/media/tegra/tegra-vi.c:246:51: error: ‘struct host1x_client’ has no member named ‘host’ 246 | struct tegra_camera *cam = dev_get_drvdata(client->host); | ^~ drivers/staging/media/tegra/tegra-csi.c: In function ‘tegra_csi_exit’: drivers/staging/media/tegra/tegra-csi.c:286:51: error: ‘struct host1x_client’ has no member named ‘host’ 286 | struct tegra_camera *cam = dev_get_drvdata(client->host); | ^~ And indeed, struct host1x_client as defined in include/linux/host1x.h doesn't have a 'host' field. Does this series depend on another patch that's not yet in mainline? Regards, Hans