Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1885801ybl; Thu, 30 Jan 2020 07:44:04 -0800 (PST) X-Google-Smtp-Source: APXvYqxrirCzbYq1WOqNthUsaJstK5G2YQj3X3TGlgMlVSTDEzmFcb6prbgEAxlCqZSWrQ2eurr2 X-Received: by 2002:a05:6830:1651:: with SMTP id h17mr3802308otr.167.1580399043993; Thu, 30 Jan 2020 07:44:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580399043; cv=none; d=google.com; s=arc-20160816; b=mnVDTnY0Tvu8BErjGzyw8DL01LfuUGJE4c0WBTDGyQ8SxBUkyO+Flwt9NQPsEM60Q0 oOoKfQX9CcNLWzhvkmnpdBYCDH7El7S17MRilecrq9pqZEsC5RMCyk4Vxp3A0ogcv28u zRk4LC/kTIdOP0H3wH2Lm3MBgd7vHc1RNoTZsd+sKL2KXMGxgwrK0zMFQQ6jlgU50PK9 wFtwiNM3s+fuJ+dv2wiOWbyfD9p90fM8m7xGUr8SeWtH8s/vL6mF+2dwvOqdr89w5837 UV+di/0nzcGjdiH84KIp9XQ7NbX8yfmsv+WoCJExmTa5VtWwFg3pQSfwLu2FhXzvjZ+b yFJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mCC2iJp3FOKEqh51EnD5KyOBr0/MmDz/MslDmMolIPs=; b=QP5SK8FjcKij/2V85Flnrrq5kIdWphGoYDXImLs2SWjNw4BaQoRUY1B68orU+fdf+8 OCZHJ2Myx31muL4sOpLFGfWAnzLu4y7dXLlg8NXorMo1oRz+P1SOek4acqSq1aqDOmfK nkNhYplIYuhGGLPG2OGnUZuiHHxBy4GvhQDxFH6JbgGHoZRxKH2jvNazA5Ra4nda760G GZX0MTY7dk4B+gKaHrL3zMWoLwZAm3SB82BGwWJpNZCRY1/iH0xpFK7PV+0hJu6Y0K46 lfxFws1OxIuch6EVXpjvknrbnugqwfDP3kFO4AjpTMTCslu3cx14FwknrZL2/2Py9/IY l00g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dygglIZ4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1si3238891otq.148.2020.01.30.07.43.52; Thu, 30 Jan 2020 07:44:03 -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=@gmail.com header.s=20161025 header.b=dygglIZ4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727366AbgA3Pmy (ORCPT + 99 others); Thu, 30 Jan 2020 10:42:54 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:50363 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726948AbgA3Pmv (ORCPT ); Thu, 30 Jan 2020 10:42:51 -0500 Received: by mail-wm1-f68.google.com with SMTP id a5so4287645wmb.0; Thu, 30 Jan 2020 07:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=mCC2iJp3FOKEqh51EnD5KyOBr0/MmDz/MslDmMolIPs=; b=dygglIZ49hA7G9C2AigGTfVuxMBIjTvnYG93OfgAvY+GPbV/k5KDxLCQlabhHazTVC /7rdveJA0Ea91a32LSTbN/Nj/yP+V/zD+turWA0YpAeRpEbMdzuyn5BfYqcB7uMIa/pl n1kOhmF1pBrIidVznLvNpcGzQhM5Vlmzek+zAOmZ39xUyR6hw07+bgsxPzDqs9abtT74 0GGW/23acpORgVG+WP4P5+71uQZNbrxM6Is+nkKiPhPBM6FdI1hwhv7K8t/kcmKhiPMK MCzRnUyKGXjKptHGYwm+HrZsaY3lIIC+ck836Qzm0wQmDi4ZAPI8BYcyq7YLWMRUYCNZ iqSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mCC2iJp3FOKEqh51EnD5KyOBr0/MmDz/MslDmMolIPs=; b=Le8ddEnfxvQR9SGITSy/6Mbft6/sHQr7ekzi1XjNzmwmRRET4xS2Bie7By5fmAGCuD SgEEnG4nCau+3FVQ6i4roPW6CUXOmfL5St+VlfUM1x/A73g8QvccxfftM2+lm9BVQLW/ nJXIl9avkkdsgEk+zENGbVcqMApp3uTSksEZNXD05I858RPppr4DN7n8KQYbDTqinE2c S9AoW5JWcDBA2rtWjeLOP+tSnQD7Oix1WtofLTFUGI+Caf73jiDQ795OhSeBEi6FQUgO GLLjo2VGegQJzHHzpzeW6c5ga7lkPkAK8lMRQI5V5K+XeuZoMNBYBftXRoK0JHokkvRB sdxA== X-Gm-Message-State: APjAAAVJRpLUL5EffMwNCnNnDxzFaD7+inc/+h5dtL4scV837R9xe1HU eQh8AP33Lt39eTJ/AlBpaAQa8dbb X-Received: by 2002:a7b:cae9:: with SMTP id t9mr6222441wml.186.1580398968832; Thu, 30 Jan 2020 07:42:48 -0800 (PST) Received: from localhost (p2E5BEF3F.dip0.t-ipconnect.de. [46.91.239.63]) by smtp.gmail.com with ESMTPSA id f127sm6838903wma.4.2020.01.30.07.42.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jan 2020 07:42:47 -0800 (PST) Date: Thu, 30 Jan 2020 16:42:46 +0100 From: Thierry Reding To: Hans Verkuil Cc: Sowjanya Komatineni , jonathanh@nvidia.com, frankc@nvidia.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v1 0/5] Add Tegra driver for video capture Message-ID: <20200130154246.GA2904678@ulmo> References: <1580235801-4129-1-git-send-email-skomatineni@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.13.1 (2019-12-14) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 30, 2020 at 03:41:50PM +0100, Hans Verkuil wrote: > Hi Sowjanya, >=20 > 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. > >=20 > > 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. > >=20 > > This series has TPG support only where it creates hard media links > > between CSI subdevice and VI video device without device graphs. > >=20 > > v4l2-compliance results are available below the patch diff. > >=20 > > [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 >=20 > I'm trying to compile this patch series using the media_tree master > branch (https://git.linuxtv.org//media_tree.git), but it fails: >=20 > drivers/staging/media/tegra/tegra-channel.c: In function =E2=80=98tegra_c= hannel_queue_setup=E2=80=99: > drivers/staging/media/tegra/tegra-channel.c:71:15: warning: unused variab= le =E2=80=98count=E2=80=99 [-Wunused-variable] > 71 | unsigned int count =3D *nbuffers; > | ^~~~~ > drivers/staging/media/tegra/tegra-channel.c: In function =E2=80=98tegra_c= hannel_init=E2=80=99: > drivers/staging/media/tegra/tegra-channel.c:518:55: error: =E2=80=98struc= t host1x_client=E2=80=99 has no member named =E2=80=98host=E2=80=99 > 518 | struct tegra_camera *cam =3D dev_get_drvdata(vi->client.host); > | ^ > make[4]: *** [scripts/Makefile.build:265: drivers/staging/media/tegra/teg= ra-channel.o] Error 1 > make[4]: *** Waiting for unfinished jobs.... > drivers/staging/media/tegra/tegra-vi.c: In function =E2=80=98tegra_vi_tpg= _graph_init=E2=80=99: > drivers/staging/media/tegra/tegra-vi.c:157:55: error: =E2=80=98struct hos= t1x_client=E2=80=99 has no member named =E2=80=98host=E2=80=99 > 157 | struct tegra_camera *cam =3D dev_get_drvdata(vi->client.host); > | ^ > drivers/staging/media/tegra/tegra-vi.c: In function =E2=80=98tegra_vi_ini= t=E2=80=99: > drivers/staging/media/tegra/tegra-csi.c: In function =E2=80=98tegra_csi_i= nit=E2=80=99: > drivers/staging/media/tegra/tegra-vi.c:213:51: error: =E2=80=98struct hos= t1x_client=E2=80=99 has no member named =E2=80=98host=E2=80=99 > 213 | struct tegra_camera *cam =3D dev_get_drvdata(client->host); > | ^~ > drivers/staging/media/tegra/tegra-csi.c:259:51: error: =E2=80=98struct ho= st1x_client=E2=80=99 has no member named =E2=80=98host=E2=80=99 > 259 | struct tegra_camera *cam =3D dev_get_drvdata(client->host); > | ^~ > drivers/staging/media/tegra/tegra-vi.c: In function =E2=80=98tegra_vi_exi= t=E2=80=99: > drivers/staging/media/tegra/tegra-vi.c:246:51: error: =E2=80=98struct hos= t1x_client=E2=80=99 has no member named =E2=80=98host=E2=80=99 > 246 | struct tegra_camera *cam =3D dev_get_drvdata(client->host); > | ^~ > drivers/staging/media/tegra/tegra-csi.c: In function =E2=80=98tegra_csi_e= xit=E2=80=99: > drivers/staging/media/tegra/tegra-csi.c:286:51: error: =E2=80=98struct ho= st1x_client=E2=80=99 has no member named =E2=80=98host=E2=80=99 > 286 | struct tegra_camera *cam =3D dev_get_drvdata(client->host); > | ^~ >=20 > And indeed, struct host1x_client as defined in include/linux/host1x.h doe= sn't > have a 'host' field. >=20 > Does this series depend on another patch that's not yet in mainline? Sowjanya's been working on top of linux-next, so, yes, this patch depends on a change that's been merged into the DRM tree for v5.6-rc1. Thierry --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAl4y+XIACgkQ3SOs138+ s6FAZA//cpCNsEQU8gEHAU0CjI4DzvBc1qaYpfV6h43+F3Yray8ifipc/2NH66wY QUfBqh14a7p01FH/E2Y/aI01fJO62p7TN/vpTSJj7IkznUTIRDoBwSGU4AGwIHnU GTSjcYbv247B1aD1zZdG7T8xVN6qoCyVostAQz4LQJGm/wlalTlHbjvhnxXIFgAm tcZWT0dz7AEct7cStf5FbbfUe/3Q7YUPD/VofigxjL1QHiLrD9GlSHk4HSW2BUq+ rrYI+raXFfVyE615KDqmZRcar9D/jVWdIqkn352u7M0G7te3JNkvwGujV7CuiS6B I/7E+QOG+r+gPR7TjLrZETkqbpaJZlhlYE2/V/GEWMavezU6yxuRnNkLH058lZ1I BJ+m/Elc4wOu9i1Y0JvlZgtChSGekGkjv/h0Doc2M/82l0OfbWJ0SGUudc0SeFtw eL65CkD7JaWTcamAzMmlpZAO7KulHW5bNhU9NnYL/lYt30OS2I2clqK2bgAKS3G4 qyIOdqDaxmxkiOl4YTR+jGu1HTTpLvD9UxaV0Xk1tZ40X1AvapdG+cLogvV4LLrr 8jvUw0vkEjDg6qwQ8gFs3zAG6Zn2rgbSwNb8tOUw0tR15FWM7ti7P0Ldaep2LT2T 2qQF+D4XPiA5U5iL6jne6eRwZ1/n1aNpH2YsCgq1PfJFofV0nII= =5dmL -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--