Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp950421pxj; Fri, 21 May 2021 03:02:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztDMlubruDpTjIR3TGUVSiXcMWA0AgwlMx9N/FyC1DvG5YrpSBDvOss6BMxQJ5+0atmrnk X-Received: by 2002:a17:906:e0d5:: with SMTP id gl21mr9507894ejb.93.1621591320553; Fri, 21 May 2021 03:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621591320; cv=none; d=google.com; s=arc-20160816; b=kLCcB/O69/UfUsvg1WAtD6oNCFgkoTmeTtfle8cRX4XZD2f3t+oPAJPkND5zszXCQo se7I+8Mk6B4txr/oGTUVSGm3RcMqDOmoKheuq//jTd7w89E/VVauGHFZtlZeqY6fWWD3 nm9gYdIXYtFrM4t7+D0EnL1DY2dBb02B0wrlOB8MUzyRS67fn2Bt1x4n/QFWnD8z+Uw5 dmj32tQFqZyECI6xs5SsAK86W+3MLUhdqCvH8CpxqVSJ8s2y1t4cEplthYNXk/qp2FMD ElhDw0LLsUSQKOMg/oBhXQncBH3wm4paZc+hEtwuqfKsufPYBLPLx9JZq+MguW9pUpPm E6xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=oY8/TM3UHulVm/TK1IEu32BOwVUOQbXUVb89SJ0nVuc=; b=JIyY9nbg4E+XI4HoU1/+rPoQSRXE+PBRGDaekMBt7X+nf56MhnZSBRitHZUJ8TENIr 5y38ifGOd5jyM8Z9XTRuRuaf6catlDQTiz3LoxVQI48TIcshxrYST/GfeFJXfBHO0N+F DASaHbFKQ/hBMNITbALAKhKe2BP+OEB+N1qACewre2mp2PD4Qxgkg+H8XJ/7Zr6EBbfN +GtyjxkpqoPtcjbAYfVt+Szl+OphnG6lQJqUOlJRNOsRGKeW7yx7iJY+iPkGPKWXxb/a SnYn/Mm+tbji2Mf8qq3xPJOgzYNjwcJAqL/eN82NR7AViDby097818b/KwX8OwoZmCFW yiOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k24si5038199ejq.376.2021.05.21.03.01.36; Fri, 21 May 2021 03:02:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234630AbhEUHDP (ORCPT + 99 others); Fri, 21 May 2021 03:03:15 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:50553 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230257AbhEUHDO (ORCPT ); Fri, 21 May 2021 03:03:14 -0400 X-UUID: e343d66a90cf40b5a507c0856315c43b-20210521 X-UUID: e343d66a90cf40b5a507c0856315c43b-20210521 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 389252559; Fri, 21 May 2021 15:01:47 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 21 May 2021 15:01:43 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 21 May 2021 15:01:42 +0800 From: Irui Wang To: Alexandre Courbot , Hans Verkuil , Tiffany Lin , Andrew-CT Chen , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Tomasz Figa , Hsin-Yi Wang , Maoguang Meng , Longfei Wang , Yong Wu CC: Yunfei Dong , Fritz Koenig , Tzung-Bi Shih , Irui Wang , , , , , , , Subject: [PATCH v4,0/6] Support H264 4K on MT8192 Date: Fri, 21 May 2021 15:01:33 +0800 Message-ID: <20210521070139.20644-1-irui.wang@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add MT8192 H264 venc driver and support H264 4K encoding on MT8192. Change notes: v4: rebase on Linux 5.13-rc1 Alexandre Courbot (1): media: mtk-vcodec: venc: remove redundant code Irui Wang (5): dt-bindings: media: mtk-vcodec: Add dma-ranges property media: mtk-vcodec: Support 4GB~8GB range iova space for venc dt-bindings: media: mtk-vcodec: Add binding for MT8192 VENC media: mtk-vcodec: Add MT8192 H264 venc driver media: mtk-vcodec: Support MT8192 H264 4K encoding .../bindings/media/mediatek-vcodec.txt | 3 + .../platform/mtk-vcodec/mtk_vcodec_drv.h | 1 + .../platform/mtk-vcodec/mtk_vcodec_enc.c | 89 +++++++++++-------- .../platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 17 ++++ .../platform/mtk-vcodec/venc/venc_h264_if.c | 4 + 5 files changed, 78 insertions(+), 36 deletions(-) -- 2.18.0