Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp790273ybe; Fri, 13 Sep 2019 06:26:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqypILdBYQTsfUq8kVz/ZsSsx21WUU6PoVmafsPWzzVbRH5w+EgyQNkmWp/d56c0JsQVjdqq X-Received: by 2002:aa7:d150:: with SMTP id r16mr14451012edo.67.1568381174594; Fri, 13 Sep 2019 06:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568381174; cv=none; d=google.com; s=arc-20160816; b=vHPSNhlMUK/V2qn27ep0X/oN3rfzjA51enrcyCI/G97naRCACcGI2kZIiyjMWOznY3 cDBSEDSR2IFE4nLTxPQv5t8UuwXM4E+ngv9W5TX8Ov/+wkpKwQ/5SVxN+ne1U/QaDemf HlYJrmSj11Rs+CBgP/UI1hwgw2c/WKwjwn+NQQ935iDzCV9VgF3kwaKxXb++tzbHxOP8 ZBgdeCusaziNMkD8SNSod4R8TfkwcN6G8rnpop4XkEQzHoDnGPi+TQH7gDh0GsPyAoB+ +zDEAAUbOUX6zKN8n33sbf/xXJXrPZioncDEESmvtera+lbNHa0LZN6m5sx9KF6Gk0uG cQAg== 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=vnhD3PZ0mNE2hDulxxExCWGhochou6IDX6JVjee4zZo=; b=w78A8N2FDZHQCRUQOpi8rVeE1qcgx33JeePnqHLuyauoA/9UEjO+dsTkxnApG2wghu SIejsUVGxV7f27t9tevdkZkmv0Ke6UMYhCqH9VJMYonBIu/AlhFI5zGUxmn1iWN5X+vA yXL/Gv9mbB0gjjUrFmjYul4Vc7DkvPTnreXm/pt9hqL0ZzNCsplsjXTSeMP6ZzDCJaxE TKam4pt5rUpkjM51yD4dLE5xTrkiHhUf9wwNyGojyuvi/gRW9odaQ3VNPhyBcjsPBMYF aQjW5CvTHr8BDMvMOOAJs6swhIIhCfqw1YZYOKa50oEiWB4YRHVRu5BkoVxv1SaOrQus DCmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Y9dbMQc0; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v57si18475988edc.171.2019.09.13.06.25.50; Fri, 13 Sep 2019 06:26:14 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=Y9dbMQc0; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391079AbfIMNXD (ORCPT + 99 others); Fri, 13 Sep 2019 09:23:03 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:55284 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390909AbfIMNXB (ORCPT ); Fri, 13 Sep 2019 09:23:01 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8DDMxhg074712; Fri, 13 Sep 2019 08:22:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1568380980; bh=vnhD3PZ0mNE2hDulxxExCWGhochou6IDX6JVjee4zZo=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=Y9dbMQc0aE9/gKp7o4aKT4yxFvuv2bv5RTsbZG6T4voAXupV97yHdiktLJMPeHnCS u5W5jOcO2C3h8b44NbwSPPTu+dAkEvtzrFtoCCbfhtuWojinwtmbkehD+/w2QkIol1 6J1Sc7IRV3IiYzDV7D6vH0U90p69qO9Y4xOrAvpA= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8DDMxnS116313 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 13 Sep 2019 08:22:59 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 13 Sep 2019 08:22:59 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Fri, 13 Sep 2019 08:22:59 -0500 Received: from ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with SMTP id x8DDMxCB116905; Fri, 13 Sep 2019 08:22:59 -0500 Date: Fri, 13 Sep 2019 08:25:04 -0500 From: Benoit Parrot To: Hans Verkuil CC: Prabhakar Lad , , , Subject: Re: [Patch 02/13] media: am437x-vpfe: Fix missing first line Message-ID: <20190913132504.sh5fpb4hrv5wqorp@ti.com> References: <20190909162743.30114-1-bparrot@ti.com> <20190909162743.30114-3-bparrot@ti.com> <018a5f55-a750-c86d-da82-2b7c586cb33e@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <018a5f55-a750-c86d-da82-2b7c586cb33e@xs4all.nl> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hans Verkuil wrote on Fri [2019-Sep-13 15:00:08 +0200]: > On 9/9/19 6:27 PM, Benoit Parrot wrote: > > Previous generation of this driver were hard coded to handle > > encoder/decoder were the first line never contains any data and > > were -> where > > > was therefore always skipped, however when dealing with actual > > camera sensor the first line is always present. > > sensor -> sensors I'll fix those. Thanks Benoit > > Regards, > > Hans > > > > > Signed-off-by: Benoit Parrot > > --- > > drivers/media/platform/am437x/am437x-vpfe.c | 4 ---- > > 1 file changed, 4 deletions(-) > > > > diff --git a/drivers/media/platform/am437x/am437x-vpfe.c b/drivers/media/platform/am437x/am437x-vpfe.c > > index ab959d61f9c9..0ecb75bf5abd 100644 > > --- a/drivers/media/platform/am437x/am437x-vpfe.c > > +++ b/drivers/media/platform/am437x/am437x-vpfe.c > > @@ -345,13 +345,9 @@ static void vpfe_ccdc_setwin(struct vpfe_ccdc *ccdc, > > if (frm_fmt == CCDC_FRMFMT_INTERLACED) { > > vert_nr_lines = (image_win->height >> 1) - 1; > > vert_start >>= 1; > > - /* Since first line doesn't have any data */ > > - vert_start += 1; > > /* configure VDINT0 */ > > val = (vert_start << VPFE_VDINT_VDINT0_SHIFT); > > } else { > > - /* Since first line doesn't have any data */ > > - vert_start += 1; > > vert_nr_lines = image_win->height - 1; > > /* > > * configure VDINT0 and VDINT1. VDINT1 will be at half > > >