From patchwork Fri Jun 28 13:46:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chun-Kuang Hu X-Patchwork-Id: 13716164 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5D37AC3064D for ; Fri, 28 Jun 2024 13:46:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=HevE95StZjq/QgU8N/2fOLW78c6GM2UNKZD1BiRpqWk=; b=U7EpnXrpoT+FhJJ7XBsTzpii96 uziLZKzcRwlf1JmWWJEdog6T1f4/m0XGljiO7Sf8TCfHM+tmnophlypStz22LgPC+6FcIPJbj32yW NI4X9KOFf1tjl6oG2LWlZ8KVWBkk99KnjL4M/USqt+ZMhYNub2Og5GzTdSv+9aD5f9Q5vbqAmlO+B Ux4LiLL6C9LSzB6a0ECq2mT7MMeTc25JlWfWSRSYpfYVcAbs1smgvfI4ojFVTnNqikdcen7YH0EgD ZzmLUEt8RNn9y4oXwgfuc2dWblX+I3fxaYoJW7LtsvTE2cJN+kDdQWCgYb5shdNPtYPwYmvfb5cn6 21IIxAfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNBw6-0000000DrMp-39QW; Fri, 28 Jun 2024 13:46:46 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNBw3-0000000DrMK-1cRN for linux-mediatek@lists.infradead.org; Fri, 28 Jun 2024 13:46:45 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 80470CE3B5E; Fri, 28 Jun 2024 13:46:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F05CC2BBFC; Fri, 28 Jun 2024 13:46:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719582399; bh=ONpr2j1g6b+nAqVM44FbiXV9HgLhJNk2TcpV20rk6Iw=; h=From:To:Cc:Subject:Date:From; b=reBAeG/hSYCgfhcC/jq/ZmYsEibBp5P/Dv8GuGC+Q31KtRMcZXPSr6FtMJTERX2Jg 9I4dmUz6vc2boyfz5vWa/xOSEI+msGvoMaIXM03n/pGJHSNJG+7AZ22z/ix0mWP5mG sPZL66CYywktCWhHvA2IxAxxfavZxJVvKLPKiLCAoocqV6J7vtRH/H0lDVTjUmVa6+ tsIaFvEv46JfVOtOU7k71KN/Z747sE1RCnRNZEh5j3gFSgSTgzssogs+WqvFdLMm9X bxTXPkhczBij+m39uAfEplaR7nbYR8PLtWjRGod2LNewqKKoHvROIBNJkBfluUBazx S3J9vYZVhSavQ== From: Chun-Kuang Hu To: David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org Cc: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Sam Ravnborg , Hsiao Chien Sung , Alexandre Mergnat , "Jason-JH . Lin" , Douglas Anderson , =?utf-8?q?N=C3=ADcolas_F_=2E_R_?= =?utf-8?q?=2E_A_=2E_Prado?= , Michael Walle Subject: [GIT PULL] mediatek drm next for 6.11 Date: Fri, 28 Jun 2024 13:46:32 +0000 Message-Id: <20240628134632.28672-1-chunkuang.hu@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240628_064643_833770_C82B105B X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hi, Dave & Daniel: This includes: 1. Convert to platform remove callback returning void 2. Drop chain_mode_fixup call in mode_valid() 3. Fixes the errors of MediaTek display driver found by IGT. 4. Add display support for the MT8365-EVK board 5. Fix bit depth overwritten for mtk_ovl_set bit_depth() 6. Remove less-than-zero comparison of an unsigned value 7. Call drm_atomic_helper_shutdown() at shutdown time 8. Log errors in probe with dev_err_probe() 9. Fix possible_crtcs calculation 10. Fix spurious kfree() Regards, Chun-Kuang. The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -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-6.11 for you to fetch changes up to 8ad49a92cff4bab13eb2f2725243f5f31eff3f3b: drm/mediatek/dp: Fix spurious kfree() (2024-06-28 13:01:43 +0000) ---------------------------------------------------------------- Mediatek DRM Next for Linux 6.11 1. Convert to platform remove callback returning void 2. Drop chain_mode_fixup call in mode_valid() 3. Fixes the errors of MediaTek display driver found by IGT. 4. Add display support for the MT8365-EVK board 5. Fix bit depth overwritten for mtk_ovl_set bit_depth() 6. Remove less-than-zero comparison of an unsigned value 7. Call drm_atomic_helper_shutdown() at shutdown time 8. Log errors in probe with dev_err_probe() 9. Fix possible_crtcs calculation 10. Fix spurious kfree() ---------------------------------------------------------------- Alexandre Mergnat (9): dt-bindings: display: mediatek: aal: add compatible for MT8365 SoC dt-bindings: display: mediatek: ccorr: add compatible for MT8365 SoC dt-bindings: display: mediatek: color: add compatible for MT8365 SoC dt-bindings: display: mediatek: dither: add compatible for MT8365 SoC dt-bindings: display: mediatek: dsi: add compatible for MT8365 SoC dt-bindings: display: mediatek: dpi: add compatible for MT8365 dt-bindings: display: mediatek: gamma: add compatible for MT8365 SoC dt-bindings: display: mediatek: ovl: add compatible for MT8365 SoC dt-bindings: display: mediatek: rdma: add compatible for MT8365 SoC Douglas Anderson (1): drm/mediatek: Call drm_atomic_helper_shutdown() at shutdown time Hsiao Chien Sung (15): drm/mediatek: Add missing plane settings when async update drm/mediatek: Use 8-bit alpha in ETHDR drm/mediatek: Fix XRGB setting error in OVL drm/mediatek: Fix XRGB setting error in Mixer drm/mediatek: Fix destination alpha error in OVL drm/mediatek: Turn off the layers with zero width or height drm/mediatek: Add OVL compatible name for MT8195 drm/mediatek: Add DRM_MODE_ROTATE_0 to rotation property drm/mediatek: Add new color format MACROs in OVL drm/mediatek: Set DRM mode configs accordingly drm/mediatek: Support more 10bit formats in OVL drm/mediatek: Support RGBA8888 and RGBX8888 in OVL on MT8195 drm/mediatek: Support DRM plane alpha in OVL drm/mediatek: Support DRM plane alpha in Mixer drm/mediatek: Remove less-than-zero comparison of an unsigned value Jason-JH.Lin (1): drm/mediatek: Fix bit depth overwritten for mtk_ovl_set bit_depth() Michael Walle (2): drm/mediatek: dpi/dsi: Fix possible_crtcs calculation drm/mediatek/dp: Fix spurious kfree() Nícolas F. R. A. Prado (1): drm/mediatek: Log errors in probe with dev_err_probe() Sam Ravnborg (1): drm/mediatek: Drop chain_mode_fixup call in mode_valid() Uwe Kleine-König (1): drm/mediatek: Convert to platform remove callback returning void .../bindings/display/mediatek/mediatek,aal.yaml | 1 + .../bindings/display/mediatek/mediatek,ccorr.yaml | 3 + .../bindings/display/mediatek/mediatek,color.yaml | 1 + .../bindings/display/mediatek/mediatek,dither.yaml | 1 + .../bindings/display/mediatek/mediatek,dpi.yaml | 4 + .../bindings/display/mediatek/mediatek,dsi.yaml | 1 + .../bindings/display/mediatek/mediatek,gamma.yaml | 1 + .../bindings/display/mediatek/mediatek,ovl.yaml | 1 + .../bindings/display/mediatek/mediatek,rdma.yaml | 1 + drivers/gpu/drm/mediatek/mtk_cec.c | 28 ++--- drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 109 ++++++++++------ drivers/gpu/drm/mediatek/mtk_ddp_comp.h | 8 +- drivers/gpu/drm/mediatek/mtk_disp_aal.c | 18 ++- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 18 ++- drivers/gpu/drm/mediatek/mtk_disp_color.c | 18 ++- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 18 ++- drivers/gpu/drm/mediatek/mtk_disp_merge.c | 25 ++-- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 140 +++++++++++++-------- drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c | 6 +- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 31 ++--- drivers/gpu/drm/mediatek/mtk_dp.c | 18 +-- drivers/gpu/drm/mediatek/mtk_dpi.c | 5 +- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 32 +++++ drivers/gpu/drm/mediatek/mtk_drm_drv.h | 4 + drivers/gpu/drm/mediatek/mtk_dsi.c | 5 +- drivers/gpu/drm/mediatek/mtk_ethdr.c | 46 ++++--- drivers/gpu/drm/mediatek/mtk_hdmi.c | 42 ++----- drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c | 21 ++-- drivers/gpu/drm/mediatek/mtk_mdp_rdma.c | 18 ++- drivers/gpu/drm/mediatek/mtk_padding.c | 25 ++-- drivers/gpu/drm/mediatek/mtk_plane.c | 4 +- 31 files changed, 373 insertions(+), 280 deletions(-)