Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp776765imm; Wed, 25 Jul 2018 06:07:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfe4V83bJON9XLhJsBOj8GkRSrdg3TFK9EZANBXLHIG9VK2u/WuNjjbmOD5BHN77uqP0+qm X-Received: by 2002:a62:87ce:: with SMTP id i197-v6mr22144141pfe.62.1532524059771; Wed, 25 Jul 2018 06:07:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532524059; cv=none; d=google.com; s=arc-20160816; b=WNdC9hUdxeFZ/ufLSSnKRV8jbL7OuNT7EH47WRhdlO+APc0h2bRRz2HvzcKJYnnmg4 LukovJmtSr3qDh/wnlDnSlG7jfgrGWV1TxlZAd4o3C5pZBT1nTVavjYjTeq6OMWqijAd ey3f+DNX0373QvVOYCN0Eq/859VyOJWEvM3btxZhgt4CZVUwe3fmpx/hCtdNPpDzF3lc yEBNO7i5rsdBY/Md4tesoFbiV/X6lCxCxrv5+GenAJbTKERbaDWQU6xPmRY48xVfG+XG 68+xgnTH6xej9cX6dtdxUX+aBPSAH0AIRV/CsiMA31b9uIaj0TKpaDNcjt3Mshot8C0w bdRw== 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 :arc-authentication-results; bh=gcsClBRRiXUqYDPGcBQWWMk+E+cwvJgq+KRYvdlkbbM=; b=iVrzX716O4YARxYAMqvjUr/tjWwOG7A6k7dalo5GuYxxfO3zELpaVIDWdjx5tDLUX8 ttqCx6T7e/8cl02aXvz/NXAqGU34OuSr/yaZaNUH6YCYyqEADp51mYpnLxphZ6IlPoUC eug6ocjYicOqcuHnp1TwZp55ko8F/9UXrF9KxOHr2Q23o8f6U8uUvF0SxFlCMe6RLs+5 Pcsu1cHGwoeNOCgtuQAVUk1/24+f8/UnvMNxO+Iv2Un1kV7L3HYYQ1Tjl+D5nwQ1g1Tl 2Vhdi5OXoTbprwuQCL2clxOTBM5ezbu8XDCA3DMPm23U47GGqIHfexp5GfQg3+BBppSZ zQQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G0ClC0yf; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n18-v6si14094226pgg.225.2018.07.25.06.07.24; Wed, 25 Jul 2018 06:07:39 -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=@linaro.org header.s=google header.b=G0ClC0yf; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729025AbeGYOSK (ORCPT + 99 others); Wed, 25 Jul 2018 10:18:10 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36122 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728966AbeGYOSK (ORCPT ); Wed, 25 Jul 2018 10:18:10 -0400 Received: by mail-wm0-f68.google.com with SMTP id s14-v6so5987397wmc.1 for ; Wed, 25 Jul 2018 06:06:32 -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=gcsClBRRiXUqYDPGcBQWWMk+E+cwvJgq+KRYvdlkbbM=; b=G0ClC0yfI21W1l7mJb9iFXkFoUD1YpbXLHKZ028h6wLHbfidTttV5Nml7kSeXIwQ7O hNhbp9R0KjTuPMlbVtwU8eIWbnepmH4ow7t4nSgU/B8z5xEOkekT2shiuXvUcBx8vCnn QnqIQOiPI6M1kQSw8lxC2isH7aTCk7xpdqm3s= 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=gcsClBRRiXUqYDPGcBQWWMk+E+cwvJgq+KRYvdlkbbM=; b=j/+YgY/iZB9cMQ9wCWARF8nTjH95QUaAjxAZFP5z816BPQiSJzk/LyYEZZ9x7j8DIG 8gBaR2NLxPX8PKt8lhAB+OvKiICAqKhAhRiufkEuBjMHfuuiHRMnirjfOaRhP7w8ayXE wp+rcX35Op6ntlIa4sR4cgwy8asyBbIh3QniQLN0L8xXbrJ+q26jvY7fhQTvKKEpWCs0 iEcVATY2KyNg9laFwIQKF3MIt1oozO8raNJKxtqFBk5vl402jjJ6ZiO5q2Y+LeZq5r6P tlejrSILhrJ2JQ9XYKd3O6sNyujvw1/wRR8BW5IvLsxCSYtw8vdSzZuEp21rJdxon2oO NFKQ== X-Gm-Message-State: AOUpUlFiIwyN1dU8LuO6qyiFsHkl/x7pgxqDSVUAGBtpHLOBj/rZbQaf 9BHD/6X/ltHU8TbGOKGcxfIxC4nmclg= X-Received: by 2002:a1c:369c:: with SMTP id y28-v6mr4491370wmh.34.1532523992070; Wed, 25 Jul 2018 06:06:32 -0700 (PDT) Received: from [192.168.27.197] ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id i205-v6sm7176147wmf.30.2018.07.25.06.06.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jul 2018 06:06:31 -0700 (PDT) Subject: Re: [PATCH v3 35/35] media: v4l2-ioctl: Add format descriptions for packed Bayer raw14 pixel formats To: Sakari Ailus Cc: mchehab@kernel.org, hans.verkuil@cisco.com, laurent.pinchart+renesas@ideasonboard.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org References: <1532343772-27382-1-git-send-email-todor.tomov@linaro.org> <1532343772-27382-36-git-send-email-todor.tomov@linaro.org> <20180724125243.jigwhde5rmifctyd@paasikivi.fi.intel.com> From: Todor Tomov Message-ID: <82cc13db-fb95-384c-1ba1-7608def83722@linaro.org> Date: Wed, 25 Jul 2018 16:06:30 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180724125243.jigwhde5rmifctyd@paasikivi.fi.intel.com> 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 Sakari, Thanks for review. On 24.07.2018 15:52, Sakari Ailus wrote: > Hi Todor, > > On Mon, Jul 23, 2018 at 02:02:52PM +0300, Todor Tomov wrote: >> This removes warning "Unknown pixelformat" for the following formats: >> V4L2_PIX_FMT_SBGGR14P >> V4L2_PIX_FMT_SGBRG14P >> V4L2_PIX_FMT_SGRBG14P >> V4L2_PIX_FMT_SRGGB14P >> >> CC: Sakari Ailus >> Signed-off-by: Todor Tomov >> --- >> drivers/media/v4l2-core/v4l2-ioctl.c | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c >> index 2e3b1f0..e8f7c89 100644 >> --- a/drivers/media/v4l2-core/v4l2-ioctl.c >> +++ b/drivers/media/v4l2-core/v4l2-ioctl.c >> @@ -1260,6 +1260,10 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) >> case V4L2_PIX_FMT_SGBRG12P: descr = "12-bit Bayer GBGB/RGRG Packed"; break; >> case V4L2_PIX_FMT_SGRBG12P: descr = "12-bit Bayer GRGR/BGBG Packed"; break; >> case V4L2_PIX_FMT_SRGGB12P: descr = "12-bit Bayer RGRG/GBGB Packed"; break; >> + case V4L2_PIX_FMT_SBGGR14P: descr = "14-bit Bayer BGBG/GRGR Packed"; break; >> + case V4L2_PIX_FMT_SGBRG14P: descr = "14-bit Bayer GBGB/RGRG Packed"; break; >> + case V4L2_PIX_FMT_SGRBG14P: descr = "14-bit Bayer GRGR/BGBG Packed"; break; >> + case V4L2_PIX_FMT_SRGGB14P: descr = "14-bit Bayer RGRG/GBGB Packed"; break; >> case V4L2_PIX_FMT_SBGGR16: descr = "16-bit Bayer BGBG/GRGR"; break; >> case V4L2_PIX_FMT_SGBRG16: descr = "16-bit Bayer GBGB/RGRG"; break; >> case V4L2_PIX_FMT_SGRBG16: descr = "16-bit Bayer GRGR/BGBG"; break; > > You could merge this to the patch that adds the format definitions. Or: Yes. I think we are going to have v4 so I will merge it with the patch which adds the format definitions. > > Acked-by: Sakari Ailus > > And preferrably move it to earlier in the patchset where new formats are > added. > -- Best regards, Todor Tomov