Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp967703pxj; Fri, 21 May 2021 03:26:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6tKI1fUzWaP+r7iK4bc0CdvfliZRrJx7P6ZRtUqsH51V2Vq3qfSJeIABdlHqEnUuYb+KU X-Received: by 2002:a02:c98a:: with SMTP id b10mr3491964jap.103.1621592769134; Fri, 21 May 2021 03:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621592769; cv=none; d=google.com; s=arc-20160816; b=GErEp5eep0E6S7zqW7TihC/nBZAWD+XWI8LzLoJ99RCGReXcbTIRJw0Bnd1OxdMtqN WprpsAgA4NeWACkTK/9a/MxNt8IJy5u/y1tO7onjXAp+RP+qLZMdtcIws/XKa/yz5tDZ nKco4dXFb+4QnwwZmUcXBmjFOJh6Qwv3K+2w+YAXZpBvrroY3Kq/iGLO2897vPLOJfjd QXaOUYtbk1B9sTkT1m1GvMWxo6CGwe6noV0k9efiDpflWQ46bR0uWcPz0SaW/zzYnHfB rbc0RfDJ9vbEWva4Xxd0tb+IPapql/91eXpnf8R14mTY6rbgZi5qY0cJvwRBMvV6nWpP KgaQ== 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=nLgutOYMl1GMr2L+DWd3t+nM78vyp11ue7Ti9kGh5WY=; b=YvEMT8eVi5j2PMIeTZdt2AZxQwH6TQORwOd6316nmAAlRrZ39p05iojuazQwwxVdLx 5UjUSZE+68JpVGxhSb7UYrN2FFqDLxGGX08pR4Ho9fHtYK1kSc+QJEWoAjuP/qkIlojo KYtGKuarbmXwtt3iBFpv2QynIC7GttEjBZK8N646RCEsod5WPNJvuWxoJ6skfbDcxuti RsvSM3l8fGDB/d8vD8TWtD0uzsU3eQ3zvC0azqL8AoU20T0Bc+VcetNdj1VCQMuZNAQE OpbLdXSzY9DCoDzOF0sdvrfO4zm1fjUPGK6XSuhU8yD2UEc2WJ7o4N21z3jsbV8KZ9He Pzew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=RLCkpSbU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si6454630ily.21.2021.05.21.03.25.56; Fri, 21 May 2021 03:26:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=RLCkpSbU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230081AbhEUIH2 (ORCPT + 99 others); Fri, 21 May 2021 04:07:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229755AbhEUIH1 (ORCPT ); Fri, 21 May 2021 04:07:27 -0400 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9D29C061574 for ; Fri, 21 May 2021 01:06:04 -0700 (PDT) Received: by mail-io1-xd2f.google.com with SMTP id b25so962036iot.5 for ; Fri, 21 May 2021 01:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nLgutOYMl1GMr2L+DWd3t+nM78vyp11ue7Ti9kGh5WY=; b=RLCkpSbUTDgmL0IUkNKkbmahQomlAqn9LVv4OjtlEGPKEwf/we89iYS8PkEh7NMqj3 IAneffvJZrHAvht8if9QuBmdyHhvk2UDoSq1UvZpkI8SQDeMytix6Oq+ys82P4DA7qNd I3tazjWsnnIEfHimQYEFmcdmjmKEylDeeam+tOPNbq6OKawmBRtMkgc4/ai1bAA9Gmus Xe8Uj8dpmbD22hxVasY9Z+UH9ixx3pb0kr09WVsc5qI3+fYKN7JLXHncK4ZnUgmOonEb bWzKeZtQtZncb4z1KUPGbi/0rpc1JLKRSYLFNhFoV/XFQtYRwHp66ut8KjOGy/mVAgQk qJOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nLgutOYMl1GMr2L+DWd3t+nM78vyp11ue7Ti9kGh5WY=; b=SGzV6z95STJO2LqkAc/jGqoWh6p/KLBN30iySsGvPh1SXUovBgJ/7T9nKBwtjOV/kp AIb6aJzB+xMTaLR8ucQtCbwZy0/HV2aj6nQxvfZf1yqby1SoSBhWjPgZcRAO7uSA+6h1 0OS/0+sk+QDk5Pv8tF2Vvh+7XzJFzKggPwI/bbq6EiSgiaThbNDT6OsJPAcyWUqu0m1g fAKQK8Gkj2BLgs8cy2L1Ka5TIisIHDtA0R7AfwmpLbkEJFH/ZE+iodbRhbgxux3OcXgN sMpGOyLaLdYFZiLsDMssIJR8BOoaR6GvgHWBqQfiBAZzIDCcs2woq1Wvp9a0rYVQmrdM Q6+A== X-Gm-Message-State: AOAM530Ils3B6/Hy8tk8KZ4PrYSjhooGyJoT4IDO+HABE5AYruHVP+ca OliwPZyl+7CW6inYgra8Xjp/hUbm5tT7E2qXvu9c7Q== X-Received: by 2002:a6b:e00a:: with SMTP id z10mr10832250iog.109.1621584363791; Fri, 21 May 2021 01:06:03 -0700 (PDT) MIME-Version: 1.0 References: <20210521070139.20644-1-irui.wang@mediatek.com> <20210521070139.20644-2-irui.wang@mediatek.com> In-Reply-To: <20210521070139.20644-2-irui.wang@mediatek.com> From: Tzung-Bi Shih Date: Fri, 21 May 2021 16:05:52 +0800 Message-ID: Subject: Re: [PATCH v4,1/6] media: mtk-vcodec: venc: remove redundant code To: Irui Wang Cc: Alexandre Courbot , Hans Verkuil , Tiffany Lin , Andrew-CT Chen , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Tomasz Figa , Hsin-Yi Wang , Maoguang Meng , Longfei Wang , Yong Wu , Yunfei Dong , Fritz Koenig , Tzung-Bi Shih , linux-media@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , "moderated list:ARM/Mediatek SoC support" , srv_heupstream@mediatek.com, "moderated list:ARM/Mediatek SoC support" , Project_Global_Chrome_Upstream_Group@mediatek.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 21, 2021 at 3:02 PM Irui Wang wrote: > > From: Alexandre Courbot > > vidioc_try_fmt() does clamp height and width when called on the OUTPUT > queue, so clamping them prior to calling this function is redundant. Set > the queue's parameters after calling vidioc_try_fmt() so we can use the > values it computed. > > Signed-off-by: Alexandre Courbot From the guideline[1]: Notably, the last Signed-off-by: must always be that of the developer submitting the patch You should provide your signed-off. [1]: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by