From patchwork Sun Aug 15 23:55:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chun-Kuang Hu X-Patchwork-Id: 12437439 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-24.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABAE9C4338F for ; Sun, 15 Aug 2021 23:55:17 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 52498610F9 for ; Sun, 15 Aug 2021 23:55:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 52498610F9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6ECF289BFC; Sun, 15 Aug 2021 23:55:16 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id DD8DF89BFC for ; Sun, 15 Aug 2021 23:55:14 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 10A9F61179; Sun, 15 Aug 2021 23:55:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629071714; bh=LI53ozqpoNEdsKyU0Gl373eJPPlLxM+pXGycg62tEJY=; h=From:To:Cc:Subject:Date:From; b=d/Ct5z6pxWo73cdS4KLwq+xLqhR36StQgXFmTVtYsEqu6fNw5hZyuFxDWVxjw/5Po 9FG6PR5gfuCaIexNhU6/u0xrKNoorUaDW2AduHPHJx5k/HOf8LdWzfCs51IunErsgD /SentkRLZuzNC3Wtrj3QUnSxljSuVWHuqXGzq+g/sJyOcF9pm/6AD16v8VK5elIpeL LzDTYebyt2Yil4zx30T7fTdLMi8HA9ZdtIZ5YeLDJDrGyTYqTSiO12fdytMG2zFhGI RGp8pbxFngYIhdCRAyRQvGIYOWDvwbVTnSwrA50VzadEFOJR6xAXPOLmIBkzpl8Ab9 ZB9Szq6vQ03KQ== From: Chun-Kuang Hu To: David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org Cc: Yongqiang Niu , Thomas Zimmermann , Fabien Parent , Dafna Hirschfeld Subject: [GIT PULL] mediatek drm next for 5.15 Date: Mon, 16 Aug 2021 07:55:10 +0800 Message-Id: <20210815235510.6597-1-chunkuang.hu@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, Dave & Daniel: This includes: 1. MT8133 AAL support, adjust rdma fifo threshold formula. 2. Implement mmap as GEM object function. 3. Add support for MT8167. 4. Test component initialization earlier in the function mtk_drm_crtc_create. 5. CMDQ refinement. Regards, Chun-Kuang. The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3: Linux 5.14-rc1 (2021-07-11 15:07:40 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git tags/mediatek-drm-next-5.15 for you to fetch changes up to 6e7dcd92644baebdb137e3af900064ceebcaca23: drm/mediatek: Clear pending flag when cmdq packet is done (2021-08-12 08:16:24 +0800) ---------------------------------------------------------------- Mediatek DRM Next for Linux 5.15 1. MT8133 AAL support, adjust rdma fifo threshold formula. 2. Implement mmap as GEM object function. 3. Add support for MT8167. 4. Test component initialization earlier in the function mtk_drm_crtc_create. 5. CMDQ refinement. ---------------------------------------------------------------- Chun-Kuang Hu (4): drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb drm/mediatek: Remove struct cmdq_client drm/mediatek: Detect CMDQ execution timeout drm/mediatek: Add cmdq_handle in mtk_crtc Dafna Hirschfeld (1): drm/mediatek: Test component initialization earlier in the function mtk_drm_crtc_create Fabien Parent (2): dt-bindings: display: mediatek: dsi: add documentation for MT8167 SoC drm/mediatek: Add support for main DDP path on MT8167 Thomas Zimmermann (1): drm/mediatek: Implement mmap as GEM object function Yongqiang Niu (4): drm/mediatek: Adjust rdma fifo threshold calculate formula drm/mediatek: Separate aal sub driver drm/mediatek: Add mt8183 aal support drm/mediatek: Clear pending flag when cmdq packet is done .../bindings/display/mediatek/mediatek,dsi.txt | 2 +- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_disp_aal.c | 167 ++++++++++++++++++++ drivers/gpu/drm/mediatek/mtk_disp_drv.h | 9 ++ drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 6 +- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 173 +++++++++++++++++---- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 42 +---- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 59 +++++-- drivers/gpu/drm/mediatek/mtk_drm_drv.h | 1 + drivers/gpu/drm/mediatek/mtk_drm_gem.c | 44 ++---- drivers/gpu/drm/mediatek/mtk_drm_gem.h | 3 - 11 files changed, 386 insertions(+), 123 deletions(-) create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_aal.c