Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp58147rdf; Mon, 20 Nov 2023 16:13:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEY64p9S1Rc2hvxDqnbFB6gtgiuEvyE16uJq7ujmqBtrse8cZGyp2j3sr4vfCkYSLwh9vGl X-Received: by 2002:a05:6a00:13a1:b0:6cb:bc06:b058 with SMTP id t33-20020a056a0013a100b006cbbc06b058mr940310pfg.0.1700525607724; Mon, 20 Nov 2023 16:13:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700525607; cv=none; d=google.com; s=arc-20160816; b=O3fbqyP/hk+sQbDZqFcSCjVmeGLL7lNiZldWxfv0byatAd+lXYLUbeDp2xdoiS9FgB S0vrDp5qc5cEI9bzqvjyHJ40OTPs+QF4AARXASkuv27xxPqCQ+mS28Ae/AgX7JTi310w fjqw35JtV7OGhapCHhhkODz7THahwX83dQf1TmzN8FLXQG5Tb5TjqwCsGxYgnu35J0kP fzVHAKuNje7Sv5N2ZA1pZNX/FVXZ20SXMpuR0kk/CnamTHK2anuj8SU/hdA8w1taLS7P h+I2bCdq6fkCe6ZNMA8V6DqRlpvoLC0eCErmmp8lGAZxt+Dzoz1tRXXnKhVEZAclGGWa wIYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=hwUN0LBGQgjYoxdZvX6WbWTi3VzgrIyo9gsyz23f3ks=; fh=9Uc95B6OVk3cRslYb4a009diyeFPQ3LfzTIE+hCwvZQ=; b=XpVCeih5mm9JzZdlPKwEp05pkXpyiWFvVhysI8CgPm4AFCDC9wgj9OloXjvfFiWOPC hxc6xZd6Hyu1pP0cxha8usOMNEg8ggmtL37yYWRS8CZM7NCgBIaU8m77aGrn9BzYiT7q Gaz0R3wZCWhXqBosK2Q+z2srmpSXk5LncSgkZDfxwsmPmPHahsFSLfBGDYTAJzNYgVBr eSbHe+sAKOfi/Zgv71FsImc3WEmMwJ6ntxAyZ08lThN0G9rRtGXUF65hMIrdER5clvPG Uq0n2zyQYC4fxIHc8wMl0vAWcBFsX9uO9f424wJN1Ei6HPYSCWoY89ydCuKPoGsokW9q 6nDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=VZ9RcCwU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id k69-20020a638448000000b005bd27295abcsi8959553pgd.682.2023.11.20.16.13.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 16:13:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=VZ9RcCwU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 386E980A2397; Mon, 20 Nov 2023 16:13:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbjKUANB (ORCPT + 99 others); Mon, 20 Nov 2023 19:13:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbjKUAM7 (ORCPT ); Mon, 20 Nov 2023 19:12:59 -0500 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 847F4AB for ; Mon, 20 Nov 2023 16:12:51 -0800 (PST) Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20231121001249epoutp012c3aa902b691c359d1969be2f80d730d~Zev7H90Ma2309823098epoutp017 for ; Tue, 21 Nov 2023 00:12:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20231121001249epoutp012c3aa902b691c359d1969be2f80d730d~Zev7H90Ma2309823098epoutp017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1700525569; bh=hwUN0LBGQgjYoxdZvX6WbWTi3VzgrIyo9gsyz23f3ks=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=VZ9RcCwUFJlPbdNQI1Ko+NwksJ6gNqWqDSYvNlvhSGT5Yt1LKQwPC+t5+TRFyQk1F +6nrLxvWcJh1Mh+nNE05RIQ4bebu7idVVAdvvjdKfCxxbHHf0j+6utnbu1u4r7tCMk aCqvmtekmpxysDiWd9hSS4wFwYl8YmZPmnpFc3vs= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20231121001248epcas5p21cf892e62fc91f46ac8d19c7f032a811~Zev6YDvi-0911109111epcas5p2o; Tue, 21 Nov 2023 00:12:48 +0000 (GMT) Received: from epsmgec5p1new.samsung.com (unknown [182.195.38.178]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4SZ4Zk2sMyz4x9Q6; Tue, 21 Nov 2023 00:12:46 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmgec5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 98.A3.08567.EF5FB556; Tue, 21 Nov 2023 09:12:46 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20231120124855epcas5p3021f603b22f90087efab7d38d66a6bbd~ZVaza0hYA2182521825epcas5p3r; Mon, 20 Nov 2023 12:48:55 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20231120124855epsmtrp2d6be864406cc6c0c53d7bda315f71e79~ZVazZk4550658906589epsmtrp2j; Mon, 20 Nov 2023 12:48:55 +0000 (GMT) X-AuditID: b6c32a44-617fd70000002177-c2-655bf5fe3ed5 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 98.1B.08755.6B55B556; Mon, 20 Nov 2023 21:48:55 +0900 (KST) Received: from FDSFTE308 (unknown [107.122.81.79]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20231120124851epsmtip22de3b57739fb9ac52f5f5b48d186fb17~ZVawU94QG0195801958epsmtip2a; Mon, 20 Nov 2023 12:48:51 +0000 (GMT) From: "Aakarsh Jain" To: , , , Cc: , , , , , , , , , , , , , , , , In-Reply-To: <20231025102216.50480-1-aakarsh.jain@samsung.com> Subject: RE: [Patch v4 00/11] Add MFC V12 support Date: Mon, 20 Nov 2023 18:18:50 +0530 Message-ID: <0a6801da1baf$ebb47570$c31d6050$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHi/4TObS/wQJ2DhVZhuaoGqj3O6QLm4twfsFon1FA= Content-Language: en-in X-Brightmail-Tracker: H4sIAAAAAAAAA02Tf1CTdRzHe54927OBk4cJ+ZWUWztHKAEbsPXAgXiB+qSdcnVh2Q96bnuO cYxtbYOEf8JgKQaeQnA6YciPQUcoO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Laftm1/khtS3qr5ou6Xepo26wTl2+JHQ2Oy BmYN7JdXXL8yfjZstWaCkOGPVM9nmPIiAtrutGS//70eaxyftLUmxfq22dJ2Tnb7xPmLR/vc toqMbD+hfpiypio8oGnbKtnn8WBB19wDUf4thSvJMzt8G/iZblb9GcYgK5ojxtnAJtsK2pZF +qu6r8qrfbQzci7NNNxOah64/I1o3hLqOTuyNE6W4rd3MSOxVB/pEHvNLTt3crt1km0fMocG vpBu1ocv2ujt3ykklDESUQCuUEr+AMNx3kR8AwAA X-CMS-MailID: 20231120124855epcas5p3021f603b22f90087efab7d38d66a6bbd X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20231025102230epcas5p1558641a18fbf4f841c82b0ef4cf5a91f References: <20231025102216.50480-1-aakarsh.jain@samsung.com> X-Spam-Status: No, score=0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,PDS_BAD_THREAD_QP_64,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 20 Nov 2023 16:13:24 -0800 (PST) Hello, > -----Original Message----- > From: Aakarsh Jain > Sent: 25 October 2023 15:52 > To: linux-arm-kernel=40lists.infradead.org; linux-media=40vger.kernel.org= ; > linux-kernel=40vger.kernel.org; devicetree=40vger.kernel.org > Cc: m.szyprowski=40samsung.com; andrzej.hajda=40intel.com; > mchehab=40kernel.org; hverkuil-cisco=40xs4all.nl; > krzysztof.kozlowski+dt=40linaro.org; dillon.minfei=40gmail.com; > david.plowman=40raspberrypi.com; mark.rutland=40arm.com; > robh+dt=40kernel.org; conor+dt=40kernel.org; linux-samsung- > soc=40vger.kernel.org; andi=40etezian.org; gost.dev=40samsung.com; > alim.akhtar=40samsung.com; aswani.reddy=40samsung.com; > pankaj.dubey=40samsung.com; ajaykumar.rs=40samsung.com; > aakarsh.jain=40samsung.com > Subject: =5BPatch v4 00/11=5D Add MFC V12 support >=20 > This patch series adds MFC v12 support. MFC v12 is used in Tesla FSD SoC. >=20 > This adds support for following: >=20 > -Add support for YV12 and I420 format (3-plane) -Add support for Rate > Control, UHD and DMABUF for encoder -Add support for DPB buffers > allocation based on MFC requirement >=20 > Changes since v3: > -Removed vp9 codec support for now and just keeping MFC v12 base > patches with necessary hardware controls, decoder, encoder and structural > changes. Also covers luma dbp, chroma dpb and mv sizes for each codec as > per the UM for MFCv12, along with appropriate alignment. > v3 link: https://patchwork.kernel.org/project/linux- > media/cover/20221011122516.32135-1-aakarsh.jain=40samsung.com/ >=20 > Changes since v2: > -Addressed review comments by Rob Herring. > This was regarding the errors found by Rob bot in yaml file. File > 'samsung,s5p-mfc.yaml' is already converted into json schema and is > merged. >=20 > -Addressed review comments by Krzysztof Kozlowski. > This was regarding depricated properties mentioned in s5p-mfc.txt file. > Review comment was addressed and 'samsung,s5p-mfc.yaml' is already > merged now. >=20 > -Addressed review comments by Andi Shyti. > This was regarding addition of 'MFC_V10PLUS_BITS' macro in > 's5p_mfc_common.h file. > v2 link: https://patchwork.kernel.org/project/linux- > media/cover/20220907064715.55778-1-smitha.t=40samsung.com/ >=20 > Changes since v1: > -Addressed review comments by Krzysztof Kozlowski. > Separated bug fixes patches, resent again with fix tag and those are merg= ed > now. > -Added SoC based compatible string. >=20 > -Addressed review comments by Andrzej Hajda Assigned width64 and > height32 variable with ALIGN(ctx->img_..) used in the code in > 's5p_mfc_opr_v6.c' file. > v1 link: https://patchwork.kernel.org/project/linux- > media/patch/20220517125548.14746-2-smitha.t=40samsung.com/ >=20 > Aakarsh Jain (11): > dt-bindings: media: s5p-mfc: Add mfcv12 variant > media: s5p-mfc: Rename IS_MFCV10 macro > media: s5p-mfc: Add initial support for MFCv12 > media: s5p-mfc: Add YV12 and I420 multiplanar format support > media: s5p-mfc: Add support for rate controls in MFCv12 > media: s5p-mfc: Add support for UHD encoding. > media: s5p-mfc: Add support for DMABUF for encoder > media: s5p-mfc: Set context for valid case before calling try_run > media: s5p-mfc: Load firmware for each run in MFCv12. > media: s5p-mfc: DPB Count Independent of VIDIOC_REQBUF > arm64: dts: fsd: Add MFC related DT enteries >=20 > .../bindings/media/samsung,s5p-mfc.yaml =7C 16 + > arch/arm64/boot/dts/tesla/fsd.dtsi =7C 21 ++ > .../platform/samsung/s5p-mfc/regs-mfc-v12.h =7C 52 +++ > .../platform/samsung/s5p-mfc/regs-mfc-v7.h =7C 1 + > .../platform/samsung/s5p-mfc/regs-mfc-v8.h =7C 3 + > .../media/platform/samsung/s5p-mfc/s5p_mfc.c =7C 36 +- > .../platform/samsung/s5p-mfc/s5p_mfc_common.h =7C 29 +- > .../platform/samsung/s5p-mfc/s5p_mfc_ctrl.c =7C 9 +- > .../platform/samsung/s5p-mfc/s5p_mfc_dec.c =7C 51 ++- > .../platform/samsung/s5p-mfc/s5p_mfc_enc.c =7C 138 +++++--- > .../platform/samsung/s5p-mfc/s5p_mfc_opr.h =7C 14 +- > .../platform/samsung/s5p-mfc/s5p_mfc_opr_v5.c =7C 12 +- > .../platform/samsung/s5p-mfc/s5p_mfc_opr_v6.c =7C 312 +++++++++++++++- > -- > .../platform/samsung/s5p-mfc/s5p_mfc_opr_v6.h =7C 7 +- > 14 files changed, 574 insertions(+), 127 deletions(-) create mode 10064= 4 > drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h >=20 > -- > 2.17.1 Gentle reminder to review MFC v12 patches. I see Krzysztof have some comments on dt-schema patch. Waiting for reviewer= s to review driver changes as well. Post which I can send v5 changes. Thanks