Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp534803ybl; Fri, 6 Dec 2019 02:01:03 -0800 (PST) X-Google-Smtp-Source: APXvYqysFHR/mcgUXlv1vx4N0nRvIiHo8qJ8Htr+nNH1grapLq6amhMRU32EVhlQGbaeQoQ8DnX8 X-Received: by 2002:a05:6830:148d:: with SMTP id s13mr10640786otq.323.1575626463213; Fri, 06 Dec 2019 02:01:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575626463; cv=none; d=google.com; s=arc-20160816; b=IGVVcQqAqzMFLH/Abee5Wjyu/z0SF/CSOZqdnWHduRAHBBYpN7P9Fq0edLMIyFucl9 csCmKv86z7/UaiPklnEXlH5CBRqiIc9dqNtm0Njicae0v/8syYnzKeLGEVPXw/z4WUEt Cy7s10e0OlmT81VDdARIR9HJ/9Qj+cZLpPnXQ5qOrrUGuDAEPCxiAnIjjeO9QR4q/hS9 8qlrABfUfdQHbGyfDtgf7K/7+kymccWkr/TpiwlvROHeUh58hYZI2ulqREQqDcfRWnQb G2ixVOAufIeQIZon9WEbuJ4cunmNudfhEkXQ2gFcam9r8YNV2glDNgTniLTQFewPM9ot y8Aw== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=iumZvvBRrVuzebxUXQfA27LRvHuUAEalNIsr9EDHfpQ=; b=NC7VaVptpeoWNy4Q5XIkZtpLp82RTbCpehhIXxLJZp0Y3a7h7tgE/tXfDwDIFfnlsW BDc8eoZRPRbcuxcGVbTPnP6o+9ZrIUUgji9BjWEYT6rbYygdH7VBHYpjjEbhI1jqfrF+ zuUP+0/XzkPrT8rf7LuQVLh3bvBWckiJ19/Ihuy91w6GNFr1SpMtJYfb/RzoUr/2F1xs SI7JUom6N8AqT88hHpcnX1NtCceQh1HEgCsGYvm2Y/jM7CjhwcMHQ2D+iKO7EMCO5BGW JV3J0IdUNy9kY6boxeHJn5rbo/UrQLWPbps1Lc9uPI4OZyyCcBSoiEAx1g4HYeAR0/Y9 sKZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=B7K9V1Xd; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si6630068oib.272.2019.12.06.02.00.50; Fri, 06 Dec 2019 02:01:03 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=B7K9V1Xd; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726328AbfLFKAN (ORCPT + 99 others); Fri, 6 Dec 2019 05:00:13 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:44330 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726070AbfLFKAM (ORCPT ); Fri, 6 Dec 2019 05:00:12 -0500 X-UUID: 5b48c038d0284b6b8173c9548073b793-20191206 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=iumZvvBRrVuzebxUXQfA27LRvHuUAEalNIsr9EDHfpQ=; b=B7K9V1XdQ3NpPe2PLXC293mnQYL05EVOGh09kmqzPbCK+7WLMg5yIjlnGWnRoDp9tgqoFM2i4JRAtDAQc3zHF0ugJoaeHugNqhD06l2dC78+S6LZOsYZxbvlfDYBooCWDO1LEhdo3HtS60ejvo7qI9W2qCfBYxEnrUlfr+oV0ig=; X-UUID: 5b48c038d0284b6b8173c9548073b793-20191206 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 387924200; Fri, 06 Dec 2019 17:59:47 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 6 Dec 2019 17:59:33 +0800 Received: from [10.17.3.153] (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 6 Dec 2019 17:59:08 +0800 Message-ID: <1575626384.17879.81.camel@mhfsdcap03> Subject: Re: [PATCH v4 5/5] media: platform: Add jpeg dec/enc feature From: Xia Jiang To: Tomasz Figa CC: Hans Verkuil , Mauro Carvalho Chehab , Rob Herring , "Matthias Brugger" , Rick Chang , "linux-media@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-mediatek@lists.infradead.org" , Marek Szyprowski , srv_heupstream Date: Fri, 6 Dec 2019 17:59:44 +0800 In-Reply-To: <20191023103945.GA41089@chromium.org> References: <20191017084033.28299-1-xia.jiang@mediatek.com> <20191017084033.28299-6-xia.jiang@mediatek.com> <20191023103945.GA41089@chromium.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2V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