Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp327408ioo; Sat, 21 May 2022 00:02:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTVoOcU6X2aCNDQl79M3uJlqw+FiooxwTLU4n03EvnficZ2uvlE8p8pfMRFA5/IjUetPrE X-Received: by 2002:a17:90b:4d12:b0:1dc:741f:c6af with SMTP id mw18-20020a17090b4d1200b001dc741fc6afmr15217282pjb.91.1653116543991; Sat, 21 May 2022 00:02:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1653116543; cv=pass; d=google.com; s=arc-20160816; b=ddAt9D0uWxa18JZrEPmC/oqO4VoY3WeXDcsuCUORA2TSJdxeBDlF8dAgIm+vzn9bMv dHN3SI+pVwsnPbGw+KPkTzn/VdTT+RMBOn3m/DWKvbTVR8hrCTA48MDR+Z6HR6BMdOad 2i7P2qRi+FTmHLYFvCuY7wIq9PKhP19gvxBI7PYTtx0/QocAdcsmfHKHU+XBjCoawxuq M59JczCoyXpNtxlJkhErd38tKUze9ZvAjVO+mHCdmuuT5SdP+sbO5YjUdBcVD7vWZzyQ gXUlaRhr6u9Jnhlgox+FIfh0KjB4D5i5+5aHtjhlhb7tvdCvDvBTB3vFED7jHJhGvIOI ozpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=WZy3GfrwaJj+v1XfsFyX0E8wbC6GPdPC7HIizEQMRpU=; b=GTLIwJUt001RM3/9yHMTkE9f/cNjNsNV1QJdSaNWfob2v1Bh4XuObqQ+28wyLVuMNo +zqDB4C3rt16dCYt1k/1akJzSHeqBZV+HF7XrBVS917E3iowyqjEHuhpmX7zlgXSn1Vr xdYXkHd9aAkG3gkm+mXvvrRGvu9Jnx2oxpaJAFHOJmHykmKYfrnul6JcGB79RZsn6ifP bnSvQ2mZmOTOg/3VVWHCf+P7DTH81EExlyVk8vajfx6Sgrx9VMYFb+vu4IW64wPweFor udf7RUOy9FJgtlDgR4DzlMvo/yxRQ6j7k7KlPzJwj3xNCVDxKxbaAW5QsjdZq8uVVGwv CaKA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=m+ed2FUZ; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p9-20020a637409000000b003f63e14fda0si2197689pgc.451.2022.05.21.00.02.11; Sat, 21 May 2022 00:02:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=m+ed2FUZ; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244002AbiETBZj (ORCPT + 99 others); Thu, 19 May 2022 21:25:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240603AbiETBZf (ORCPT ); Thu, 19 May 2022 21:25:35 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2062.outbound.protection.outlook.com [40.107.20.62]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 009822AC7B; Thu, 19 May 2022 18:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=htTgJe9mj8OUof9HUlzzMZws3a87IS+rEf5jiGSY4hKrzoD8SYtKd6DONqZAkFQwg3tsjIYr+8wLtx/PJmjvY6+KFl7UQU8/JaQmzU0jn+Z4MA4TC3GvbJsKQ87RpNY1c8xflGph0bLVb7ReWQstGcUHP98DWaMb7IBpHtWj80v+FRcYcm2Lc4RWFZzC0nufBjUtCxTBXLzkRQR9EH41ehgJUMfHBRdprImVvhhk7hGKRUwQ/VWOLolKmbE9SbMhC9AJE6IPAHrclXeQ39dW0bs/+0cyXv1pRNXVysNi1FxBuBIi99tG0gXeUv6tRiJbhE3yL9mbg0+0R0J1GfcH1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WZy3GfrwaJj+v1XfsFyX0E8wbC6GPdPC7HIizEQMRpU=; b=cMx71nbeI8Zgyl19q5qm2JAy7Dlh6MpQt+fmjPHaddlW680oicW1F4gJm5vwZW32BiusZ4pCN00YutxgImieR+7I9Anp8o7zAVP/kmnvXTCYTxOJvQJq6437ptPtCqN8jUdOrrLyKBnDRHrK90JuFRF2BJKtaPHeDsEbUZfki007k1VNONbzsWnbLU8CqxKUjUsm12n34K3m48mjjnan3w5YJ25hsDTFW9dsTd6atvYr9/JBAFsS0P1mSQbDqIcxHNMPSe6V4pSMNXUVfcrjB6ZYWn4K0a6BPZ2FEcS1/y0VGekcFV50FLpVuGG0H2mEodLR5VIkq400+eHYD2Ko/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WZy3GfrwaJj+v1XfsFyX0E8wbC6GPdPC7HIizEQMRpU=; b=m+ed2FUZlDIBLr7tTRJ5GimKzU4nj/fO9eJa4YxERpoGgADc2M1HczQfyW1uvvzAseRuox2QcYD8QnTGO0GseXoAvr1I0BI3v6a+1ywUBSKpGOUHJFrsCuo0wvfjBYEPd2xX4SAKSQ0DVhOT8bbtMIUSQtP7S/LrVYpDs6HjZjk= Received: from DB8PR04MB6346.eurprd04.prod.outlook.com (2603:10a6:10:10c::14) by VI1PR04MB6798.eurprd04.prod.outlook.com (2603:10a6:803:131::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.17; Fri, 20 May 2022 01:25:31 +0000 Received: from DB8PR04MB6346.eurprd04.prod.outlook.com ([fe80::55:de91:1970:385e]) by DB8PR04MB6346.eurprd04.prod.outlook.com ([fe80::55:de91:1970:385e%6]) with mapi id 15.20.5273.017; Fri, 20 May 2022 01:25:31 +0000 From: Ming Qian To: Nicolas Dufresne , "mchehab@kernel.org" , "hverkuil-cisco@xs4all.nl" CC: "shawnguo@kernel.org" , "robh+dt@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: RE: [EXT] Re: [PATCH] media: amphion: return error if format is unsupported by vpu Thread-Topic: [EXT] Re: [PATCH] media: amphion: return error if format is unsupported by vpu Thread-Index: AQHYa1IjNpIg22tPvUuo55ULLbP5Xq0mgWIAgAB2L0A= Date: Fri, 20 May 2022 01:25:31 +0000 Message-ID: References: <20220519072844.31792-1-ming.qian@nxp.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a9b3010e-0d03-4512-6075-08da39ffa187 x-ms-traffictypediagnostic: VI1PR04MB6798:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ci+zvqv0y3j9SnebdKsy5pm1aTb3SOtxhmHpyLCU9BLC9TX08QQB0+qquyxFBHyCYsfGxiCoHNjUubAJWQNosPz14qw9pHCac5kfEIBBNWZvCBGPHmi1YRHLHzJEt+LLB/uf40nyW3Qy/Vx3fwiRrawLdcEi3irLa2cdxYi2/IkR0yKHgelG6nUerGLzaGYxP/IKD/bHOnusFX0ZNLosPjF89INmLptEPKdtZYvfUxinHBWH/nVL7ShdjGhWyE2DyCSunSxXfK8PmE92Rz0+FpB8UAD3Lgde8Hqgialnt/tJ1wrepx3+1+9BG/pmsITcWQ4L7QiF1MpfrZjvGkw29lC/ozChW3eXo0eIWpma7o/C+zk3LoxJvz6RCkcXRW8bjalyIZUhBsl/pUw/amS7sj8ipOTyzxdepcNsqAKAa0/MhMvelwp/5kIxpmQ34GTUhmNnNw07Zo1/gLCHb6oyrr16lzb4dQ2vikHJJXbaNbTOYb5Z3bmDhZTw2IpMH+qy9czC7kPGJZqG2E8trSFcaCALMpmtitBGV0wqlN8GajnJ5JSB5/J/QwF/yAZXw4fHqvz9MWFmfgb5GgmwR9BmHDaY3f4Q9Q2nmB7zNCYWSOmMilwott4dxO/cUM2bnIc+qJQ4SZrFhq86v0Qrt8RvVQr7zPQ+vNkIqpVEKCunvrUtakrz8mk9ot1Lw5sppBaKvouq3aXKzfIzhw81txOK/g== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB6346.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(110136005)(54906003)(2906002)(33656002)(316002)(508600001)(71200400001)(38100700002)(86362001)(55016003)(83380400001)(64756008)(186003)(38070700005)(9686003)(26005)(7696005)(6506007)(53546011)(122000001)(66946007)(66556008)(66476007)(66446008)(76116006)(8936002)(8676002)(4326008)(7416002)(44832011)(5660300002)(52536014);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UTBMdzZZRjh5M240RUtmRjRvR0RNSkZrOXdQWXlFSmpsaU9NTjYrNlI2Zkt3?= =?utf-8?B?VWt2YjhWZVA1MGY5NlcwdDl3OWs2VXRFWFhzYVBoZUpFQ05oVDl5SExFNnZR?= =?utf-8?B?ZERCRis3cllkTzh0RlFwSDdPVzJXUW52YTB6d1MybUZSN3NPRHhQc3VOOTFT?= =?utf-8?B?cnFMUU15TDFNc1VLOVpRSUlHaFNyZWx5VHlrN0tpVTFQdC90VGNBanR5V0tx?= =?utf-8?B?c3pGZitORytHNUlEMXlnc2U1anF1NEJ5alZSeEpZZkdvV0VuRzBXL05kOWIv?= =?utf-8?B?SnR6cGRpbDQwTlhZRFV3VHVmcGdlSnV0dS9YQWdLNzYyejRYb0lyMDN4Tnh4?= =?utf-8?B?NkJKUDB4c0lYU2VjbEVJWTNZd1ZYSWk1NW1oRGoyb1VtZnVxbm0rSXRJUXJ5?= =?utf-8?B?bEM0WVZiN1VHK3BZNGVuNmcrK3VEMXFTVlZENGY4UCsvZXJDbmdVZTVYcEJF?= =?utf-8?B?c0ZyaWZka2g1aklKcXlnWlNMUkFPRC8wbkg0NlEyTWtGNzZTRDJoNmdCbVlw?= =?utf-8?B?WEFVRHpCT3hDS2dwZFpidE1ybTBKUGpubVplYzhsTm9iWnppUEI0dzh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ME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6346.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a9b3010e-0d03-4512-6075-08da39ffa187 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 May 2022 01:25:31.5481 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7Tc9c47vni7TAsl8cIsu47YfCfEtA+YMIPOp8sBxcZAhyhyKUUN5mVTj/1uDcTY33H9N19jQzzZFAGNyaoUihw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6798 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBOaWNvbGFzIER1ZnJlc25lIFttYWlsdG86bmljb2xhc0BuZHVmcmVzbmUuY2FdDQo+ IFNlbnQ6IEZyaWRheSwgTWF5IDIwLCAyMDIyIDI6MTMgQU0NCj4gVG86IE1pbmcgUWlhbiA8bWlu Zy5xaWFuQG54cC5jb20+OyBtY2hlaGFiQGtlcm5lbC5vcmc7DQo+IGh2ZXJrdWlsLWNpc2NvQHhz NGFsbC5ubA0KPiBDYzogc2hhd25ndW9Aa2VybmVsLm9yZzsgcm9iaCtkdEBrZXJuZWwub3JnOyBz LmhhdWVyQHBlbm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