Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp438769ybh; Wed, 22 Jul 2020 04:38:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbFDK0jJ6FsO39haJzvj9foiCEG4OtVWi61xAe04YF8WEBeuRttIlx5y7duV7IcTx1DBkk X-Received: by 2002:a17:906:94c4:: with SMTP id d4mr29083373ejy.232.1595417916476; Wed, 22 Jul 2020 04:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595417916; cv=none; d=google.com; s=arc-20160816; b=JCyre1UlCVGaKW6wPlrrmVyvKN2b8SjJfpqPtDxqrm1EKx7Wz6m3P5IHT9u2n0+PMJ CYiRcmD181EqvlPMzS/W8Kf/GBUcotC1bspfpkOt1ReA8Pslmt7Bq6dzL5EasgR/lj+D xChAW2AKdmQuZmz9nVYk/t6ZiS8fh+H6TnzxRQkp1gjqN49jdFetTx1PMDpKRKZISp7s jahrHqGHKEzhFbZN0s1TphTfCXhNm4HK5bHBnFHObaAmhlEzD2tD3louV3o2DPBAwjN+ AnWQF2mYfAPToSZeAzRrZpqsfr+lBbO44sFl+fquZrdKM4Mh8qEjU61ZY5h/6RGc62Gl 6FYA== 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=TGNDP7TokQIPIiDyQQilw1gTxHg2ntwORp5IuJSSxuk=; b=SMQ0dwyHp2ScW/1sn782tI0b/rdBTSInaf53O3v9wvY1N8nzdUeqsK2xcLxTkBbuef gO66sgic9yUXQUgsvvxtDk/qG0kwB75ZYWyk6GyaBTduoc7R7v7XnapsHrJfLze6p6dz r24vkbtW5ad4o2SMpVGcKVGQqCD01C3h0+mjFO+jodk2xxeLW64QE7MXXmndPm316IT3 8VS7KU7Xzm5c9kg6BxXX23orL+sxKYqG7ycCN9G224MeRcwWJ+DT2OWKo7IUyBwgw4za +Pd+Xh0ObtyXTqVADusLLBXcBlbZBRvVl/DojgLZ9l9Ib/n+M492zsYe9zC0ksLLusji CJOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aZL9LR7W; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si15713481ejf.492.2020.07.22.04.38.13; Wed, 22 Jul 2020 04:38:36 -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=@linaro.org header.s=google header.b=aZL9LR7W; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727948AbgGVLfs (ORCPT + 99 others); Wed, 22 Jul 2020 07:35:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726334AbgGVLfr (ORCPT ); Wed, 22 Jul 2020 07:35:47 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BF9AC0619DF for ; Wed, 22 Jul 2020 04:35:47 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id f5so2092616ljj.10 for ; Wed, 22 Jul 2020 04:35:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=TGNDP7TokQIPIiDyQQilw1gTxHg2ntwORp5IuJSSxuk=; b=aZL9LR7W/tIRttDyuKuxTLD2H6940gR+znMFp2lInXL0+1POU9uVrCT4hYQxPdhmrn S2+g7c/STj8trDv1J2dQh3yyuNbmZ/FBmfEofuV2tYt9DbWbverlMsjtAkntWgcoBobl GmDgFcdpbAIHAOBcT+RBAoeWRhrGDrKkVU9oGAjoW+TesAdIwns/dtIXqAMavqIOPb8q xHk0KNI0Tyh4U6NHUfxwyi5CC896PdNiIKLXyXjv83xR+Xzdz2Uq+gXtg41h/iWsNeyf sH5vhVzLjP4d3Igau5+FBEbxHeer8J86otHzCm6cfki7BTD3cKxo7/mNY4xV309jy07l VllQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TGNDP7TokQIPIiDyQQilw1gTxHg2ntwORp5IuJSSxuk=; b=ovM2Y4nvDYYC1wQ54pxLbY8cJpxgPQyQaN4DW8a0mMb3EGI506uicXghQXTzE7ltoc OWVEIDwtF+be/6SglNXZ3FGpv4VbcXQ+/skC1yIfCmugBDiPacUdUYjQ1jH7l4y1NW40 2t6/i8m2MOBmLrMbIZzP7v+J5acr7Czm2W4nsPXaaYIKInUhJ7SowJS81PrpK7ufPBP6 Wnc8KRWSxfAwW0B6YP0ULmgFBaMMFjQ+CGv0wuTaYWxZ0DRGCcmuRandzTHQ9yfvIojS 4I2Bqf1R5y7bO2j874HYbJMSOkj0PBSdxeGnFvVAbrDx+Vrv9JjJvQZY0XnH947fiVm/ kg5Q== X-Gm-Message-State: AOAM5313PAjqw7bRLqlw6pasge3QcBV2jz6DzBWK9VTbDvzRIsOnvHl6 jJmQDn5981UUpkkCPR/OND3pVA== X-Received: by 2002:a2e:978c:: with SMTP id y12mr14882344lji.270.1595417745685; Wed, 22 Jul 2020 04:35:45 -0700 (PDT) Received: from [192.168.1.12] ([195.24.90.54]) by smtp.googlemail.com with ESMTPSA id p1sm6537308lji.93.2020.07.22.04.35.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jul 2020 04:35:44 -0700 (PDT) Subject: Re: [PATCH v2 5/6] media: s5p-mfc: Use standard frame skip mode control To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Mauro Carvalho Chehab , Kyungmin Park , Kamil Debski , Jeongtae Park , Andrzej Hajda , Ezequiel Garcia , Maheshwar Ajja , Nicolas Dufresne References: <20200721074538.505-1-stanimir.varbanov@linaro.org> <20200721074538.505-6-stanimir.varbanov@linaro.org> From: Stanimir Varbanov Message-ID: Date: Wed, 22 Jul 2020 14:35:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200721074538.505-6-stanimir.varbanov@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Could someone mfc driver maintainers ack or review this patch? On 7/21/20 10:45 AM, Stanimir Varbanov wrote: > Use the standard menu control for frame skip mode in the MFC > driver. The legacy private menu control is kept for backward > compatibility. > > Signed-off-by: Stanimir Varbanov > --- > drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c > index 912fe0c5ab18..3092eb6777a5 100644 > --- a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c > +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c > @@ -261,6 +261,11 @@ static struct mfc_control controls[] = { > .menu_skip_mask = 0, > .default_value = V4L2_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE_DISABLED, > }, > + { > + .id = V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE, > + .maximum = V4L2_MPEG_VIDEO_FRAME_SKIP_MODE_BUF_LIMIT, > + .default_value = V4L2_MPEG_VIDEO_FRAME_SKIP_MODE_DISABLED, > + }, > { > .id = V4L2_CID_MPEG_MFC51_VIDEO_RC_FIXED_TARGET_BIT, > .type = V4L2_CTRL_TYPE_BOOLEAN, > @@ -1849,6 +1854,7 @@ static int s5p_mfc_enc_s_ctrl(struct v4l2_ctrl *ctrl) > p->seq_hdr_mode = ctrl->val; > break; > case V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE: > + case V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE: > p->frame_skip_mode = ctrl->val; > break; > case V4L2_CID_MPEG_MFC51_VIDEO_RC_FIXED_TARGET_BIT: > -- regards, Stan