Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp485100pxb; Thu, 7 Apr 2022 10:28:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlMQYNjkeE94PmE4H5fscMIiltAw7EPR3+vdTuN3AYAkQRmahX6tgUJM19JCmIaVNJLI7I X-Received: by 2002:a17:907:6e10:b0:6e7:f672:f39b with SMTP id sd16-20020a1709076e1000b006e7f672f39bmr14657932ejc.451.1649352534687; Thu, 07 Apr 2022 10:28:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649352534; cv=none; d=google.com; s=arc-20160816; b=fvQWYzPfGron0QKDcmUNmNaMrUf6BLR9zrvULchhvUlXf+Hwjh4KmrJI6VMwGAI/Yb sxpvBjsdxfebBZlAUvfgjBbkU5t7245YS3fW7k3lxb/95YM+j+Hng7sLgv0RGjnP7JN8 L9lf4jwEcWwjDt4J0ZmRueKIPv/bLzuGtR+Kpl2lZFvCCMHw0pbe3Ghql3C1SFn56ACm uO81jfCz2GVHAGVQ9xApg9JCFHp/lDBfwLoqXFIkv/Jp7emaVlgR0uH4/BUHoiPfURFI 3Z1qgbiVgFFNmG9tMGTpLTjoGInp+PeSvScqkrkijXKqVQdYfiVA7D93S9pM6vxBQgSU hKww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8Xg006do2juJkqTWAxGfwqxVTFvDtf8Ouv8ifluSAu0=; b=stJQv/ar6YHYauRLGTfVaNG9i6FWETeW1kJEr6yDqZxy6Sy+XvuTGV37Pmph3MUOtj Q2eRpGuMqch7XK49u0IdsAJxJ/QtZMixj0nOx2Ys5l89bnh5wqjq4q7cNEhw8FvUPkfe IaCUm82fzEDWmMygnnV+kobJURWtV4+Sk7W+iOBsJYvyDIwMn/1U0rbub3aRWQsdrdK4 DnhxdiBYlTjOJ/dgdvyUjk16N7E7Ulnh26QN9/R6RfSrZoCRgDhHep1V2oDYCf8Cgm0W Kv3Sz8pk3Ipv80sjqHIisIpKj1Pvnoh35Buf9dOzNiBPZskbgfDR/ZhCTg+omH5RBnQ1 r4HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GXz3RdQi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e22-20020a170906505600b006e82dbd2d11si2504874ejk.809.2022.04.07.10.28.28; Thu, 07 Apr 2022 10:28:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GXz3RdQi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343630AbiDGNUA (ORCPT + 99 others); Thu, 7 Apr 2022 09:20:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343627AbiDGNTy (ORCPT ); Thu, 7 Apr 2022 09:19:54 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 01E8E25CBBE for ; Thu, 7 Apr 2022 06:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649337473; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=8Xg006do2juJkqTWAxGfwqxVTFvDtf8Ouv8ifluSAu0=; b=GXz3RdQi6O2Rf4KRNuP0qwtKUKoqvW0o0w30DH9tttGzfko1zVn8V1XlpJxrUWAFrJoKZE 7TuYpK/Lx4BUAfRgpr2m7J73qYBhUw89SuQIVd/x9ZWhKWKYX9Hjm+1tIZFB/Yb+NRXOB1 9DlFJoqw7f6Apvn3svF0wDDNemUEXpE= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-407-vrxD0qKRMQObayLuM_Uj1A-1; Thu, 07 Apr 2022 09:17:51 -0400 X-MC-Unique: vrxD0qKRMQObayLuM_Uj1A-1 Received: by mail-lf1-f72.google.com with SMTP id g20-20020a056512119400b0044ada577e3dso1826714lfr.1 for ; Thu, 07 Apr 2022 06:17:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8Xg006do2juJkqTWAxGfwqxVTFvDtf8Ouv8ifluSAu0=; b=Zfd0Y5YgdQPTHH1Ljz+pfPrhab7cU6OhzMFBoz6lV0Nq1IJBC9uPVWcgM6yOnO1d3V dw+ZsuYsoYhDwHtkFPsoenZGbfpMPpRla3tVKelBeBSfBhfRCcIUbfO4Ur3vR0yNErzL 3DiJynTj0MSqaBcJRmT7jDMcT+L+9va3Nadcy7sY762q513fRAKjl2k91AUP5sZb5Zxg 6OgiR7epT+jVOB6X6fso2g0OPjpsREfHbzCMwEgq7tRg+o6qkJNGvJSsqDRyrHM63m6V CWeJVTuZra0HfOt0/cZ7IbsrlUBNZVXYRUVUQfWOTmBfMRsiV1K9ko3U12L6V2/ZVcZ7 86Dg== X-Gm-Message-State: AOAM532fGgBsc3XXl2ZTk6Y2LuqmJanJmIfOitx0nPlnlD01PqehJ7Rm cc3Z3mBBgW4CTyMYSEMmzWTAkKYd2bONOgy2LoG+R2vrLYx1IDvDh3z9x6TKa9DATgXQb2wjLel kpz+itjxvJqIRDIVG5ECOuNHHdm8ODfXhx/EibNCm X-Received: by 2002:a2e:9ad7:0:b0:24b:fa3:6a8d with SMTP id p23-20020a2e9ad7000000b0024b0fa36a8dmr8750734ljj.363.1649337470354; Thu, 07 Apr 2022 06:17:50 -0700 (PDT) X-Received: by 2002:a2e:9ad7:0:b0:24b:fa3:6a8d with SMTP id p23-20020a2e9ad7000000b0024b0fa36a8dmr8750702ljj.363.1649337469936; Thu, 07 Apr 2022 06:17:49 -0700 (PDT) MIME-Version: 1.0 References: <20220407105724.308930-1-hpa@redhat.com> <20220407115133.GL3293@kadam> In-Reply-To: <20220407115133.GL3293@kadam> From: Kate Hsuan Date: Thu, 7 Apr 2022 21:17:38 +0800 Message-ID: Subject: Re: [PATCH v2] staging: media: ipu3: Fix AWB x_start position when rightmost stripe is used To: Dan Carpenter Cc: Sakari Ailus , Bingbu Cao , Tianshu Qiu , Mauro Carvalho Chehab , Greg Kroah-Hartman , Jean-Michel Hautbois , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Hans De Goede Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dan, On Thu, Apr 7, 2022 at 7:52 PM Dan Carpenter wrote: > > On Thu, Apr 07, 2022 at 06:57:24PM +0800, Kate Hsuan wrote: > > A not calibrated x_start setting would result in an incorrect AWB location > > configuration on a sensor when only the rightmost stripe is used. x_start > > should be calibrated by subtracting the stripe offset to set the coordinate > > to the correct position on the second stripe. > > > > I wish the commit description said more about what the bug looks like to > the user. This is the front facing camera, right? Is part of the video > blank or what's the deal? This is IPU3 image processor. I tried to fix the configuration issues on stripe 1 coordinate settings. > > > Signed-off-by: Kate Hsuan > > --- > > Correct the patch. The correction should be awb, not awb_fr. > > I tried to review the original patch and it was impossible. I saw > you're from an @redhat.com email address so I decided it must be right. > > I kind of get that you need to be a domain expert to review these > patches but this function is such a mess... Sorry for the misunderstanding in my comments. Since I made some mistakes on my v1 patch, so I had corrected this part and quickly sent the v2 patch. You are welcome to pinpoint the errors for my v2 patch. I could fix them. Thank you. > > regards, > dan carpenter > -- BR, Kate