Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4483094imb; Wed, 6 Mar 2019 14:43:42 -0800 (PST) X-Google-Smtp-Source: APXvYqyKR1s8Ks+rDjesgjtzM+ezDqn4bFBvulkhOwS7omh+9LJMBj424HODHcN0+1Jm1TUdwBtw X-Received: by 2002:a63:f74c:: with SMTP id f12mr8467373pgk.195.1551912222726; Wed, 06 Mar 2019 14:43:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551912222; cv=none; d=google.com; s=arc-20160816; b=L/asbazj89Lo9+VRa6Ie00MMTcqkxJSTTqGV3Oq7cW3KbuX7NsNwXZBmv6bleVbGEB DKEeN2aIrpAKqcAQvA7KngWNYsEibS4bHfxRZRMnApjdm8+oDFhfznMZX6l3g1WlpTWN C7WlHA3w1CgLoovPda+oT+E8PjSUAVP1vJRmR0l6Llffa515mT+7o0yrhoUCviB86squ dIABaZmw28hUiBhzVuLKFcUWZYx+/sTq7o5wOeL7GrIq+YoUC2K222vbquSfzmLvyd3l FhqVjl8M7YOggb9l+ej45JNrdR8+c8ZvHRedT0mRedJqYn+1TksB8MDDiPdM9JME2IQl l6jQ== 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:mime-version :message-id:date:subject:cc:to:from; bh=XVCC1IoAI8u3/28VCfchHUYxzljImMauECrJSEymJYs=; b=OAc9L61+7PkdNleAzGFVpQ3U/49w/VppujaVcw7nIdsUgFDIxmlbMAMsQFlL3nzW3k spGabw6onlyi83JdGAQBkD5tDSNj1gJLxLYQ2R1aWjJecOYW4qPGyBReWJ0euRGaMFE4 FQuRqM5n75iC9oqZeAuXL5KLLnRrkhVte+RK8n87LHD8KI0scbraZacBI8DboIs8Kk2I sBJ9Qt9zpqkKj1h05AiDNNBMCmgq07YPucIDO/kCdQOeyzuDn2cT6fttVnM6oHiZBiO2 aF/Npok9Esal8gPDqdnIKW0OVIdLbgdtw4g2EbgiR1DpyeDaJUrp7twheSqbAF32iziv VzvA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h34si2516077pld.358.2019.03.06.14.43.27; Wed, 06 Mar 2019 14:43:42 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726172AbfCFWnD (ORCPT + 99 others); Wed, 6 Mar 2019 17:43:03 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60828 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbfCFWnA (ORCPT ); Wed, 6 Mar 2019 17:43:00 -0500 Received: from localhost.localdomain (unknown [IPv6:2804:431:9719:798c:6bb0:a97a:4a09:e6d8]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: koike) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id E0C5827FF14; Wed, 6 Mar 2019 22:42:54 +0000 (GMT) From: Helen Koike To: linux-media@vger.kernel.org Cc: lucmaga@gmail.com, linux-kernel@vger.kernel.org, lkcamp@lists.libreplanetbr.org, andrealmeid@collabora.com, Hans Verkuil , kernel@collabora.com Subject: [PATCH 0/8] media: vimc: remove media bus code limitation Date: Wed, 6 Mar 2019 19:42:36 -0300 Message-Id: <20190306224244.21070-1-helen.koike@collabora.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This patch series has several vimc fixes (that I am sending in the same series only for convenience, let me know if you prefer them to be sent separately from the series). The last commit removes the vimc_pix_map_list[] that was mapping pixelformats with media bus formats, but it turns out they are not 1-to-1 equivalent and it is really painful to add other formats. Also, for the userspace, media bus formats don't really matter as long as they match between links. So this patch allows any media bus format to be configured independently of the final expected pixelformat. The series depends on "[PATCH] media: Introduce helpers to fill pixel format structs " Thanks, Helen Helen Koike (8): media: vimc: deb: fix default sink bayer format media: vimc: stream: fix thread state before sleep media: vimc: cap: fix step width/height in enum framesize media: v4l2-common: add bayer formats in v4l2_format_info media: vimc: stream: cleanup frame field from struct vimc_stream media: vimc: stream: add docs to struct vimc_stream media: vimc: stream: init/terminate the first entity media: vimc: propagate pixel format in the stream drivers/media/platform/vimc/vimc-capture.c | 80 +++-- drivers/media/platform/vimc/vimc-common.c | 307 ++++++++------------ drivers/media/platform/vimc/vimc-common.h | 13 + drivers/media/platform/vimc/vimc-debayer.c | 80 +++-- drivers/media/platform/vimc/vimc-scaler.c | 60 ++-- drivers/media/platform/vimc/vimc-sensor.c | 48 +-- drivers/media/platform/vimc/vimc-streamer.c | 39 +-- drivers/media/platform/vimc/vimc-streamer.h | 22 +- drivers/media/v4l2-core/v4l2-common.c | 22 ++ 9 files changed, 341 insertions(+), 330 deletions(-) -- 2.20.1