From patchwork Mon Jan 6 08:51:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13927084 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 27566E77198 for ; Mon, 6 Jan 2025 08:51:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 713D210E5CE; Mon, 6 Jan 2025 08:51:25 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="BH7lJneQ"; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 16E5610E5C6 for ; Mon, 6 Jan 2025 08:51:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736153483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=098p1xYBch/Q4n19SdwF3mHoEwwVBvhF2FE8ZcaNpDQ=; b=BH7lJneQi/9KwLDQLJGu48e4yZvcNF8L6aOaXvrR+P3OyUCCYIm4dvJ4uSHzpe+CC8eiTM c/sXmIuKVlvfoGwE2rAzmf85U1z4HXO6PuEgXZWNgQR/CEMDUYOLx6z2+rOQkLm59LfBPe F8XToLcPYCtnrr7QLmpITsi34ajhyWk= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-22-ddc5j98oPfCJTT-odIbPQA-1; Mon, 06 Jan 2025 03:51:21 -0500 X-MC-Unique: ddc5j98oPfCJTT-odIbPQA-1 X-Mimecast-MFC-AGG-ID: ddc5j98oPfCJTT-odIbPQA Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-4361d4e8359so112487925e9.3 for ; Mon, 06 Jan 2025 00:51:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736153480; x=1736758280; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=098p1xYBch/Q4n19SdwF3mHoEwwVBvhF2FE8ZcaNpDQ=; b=BEzzjDgD8uZYJzyDu0x/+XT/LLPKqFfMfXzpIO11ZQog9JXJ4J58kEVjyiAnHeiz1V BMCKbPYEfCP20ZFY4m4ytMZKGTbN4Yneg8vRra7GDUP9ZOfCR6Xu7Fz73iC8wZl9PJ7d Fv0urwFxaGSn9NMI0DkaTmUFQZoBK/MNEem0jn65haVlV5exMiP5H6IFVXVkfSBdeLRw 4cOH/7M6jLqwCVkVxNc3HY6+wSFhFrhvyXh1LWdTwl+oXAoJ68AxenDC71WC4Vw2AMpN 9M6j+X7bQ5Y7F8Ayk5sLNASOa4inLLjzm21Gnrm8vIzhCtJLRq1YxsxUk3QZM9ueahr1 T2iw== X-Forwarded-Encrypted: i=1; AJvYcCVTivBvyArnMyRBnmK81AJ0uQgmYQfLvATjbMzAlKp4N8ZvsbwPmzTIwf6eCK2Kfkn4Nsq7l4i/TL0=@lists.freedesktop.org X-Gm-Message-State: AOJu0YzPFLH9VjL5rpJHo6tnsfk18Sk8vBoRXd9dch+RQWNFO7ID2h/C 4X9HVtRJLw/U054TnHNKpRg2hU/FcBZ+GtJ5d7hulFf/FmumjSp78GwQKjTMcgkxjfP+sl2y+Mq ZXpX46BovCYAQwMsOnayQkFjOFtM/CtHmnon05aYsRMfwT5347iv8K48ehJrofRoUDQ== X-Gm-Gg: ASbGncud66hiDKaqurQuSuBkiOKyu4fsi8QoY86E7jjDJ2ATKU2dqVaxgOG3cHR22ME 3eEy6hmQfAGYzQOVtJKU9Nt9TzAncGTWwhaWyBmJVXrq21W4k/ko8NuZaEdBHH607Z4A3WAQCqg Kqe883IAWkY7woAv6T2OphvwdMPsJ9k1OScV0c3ymfX3X+ecDRCs9YSUMO9xwlWaWeLhWzHpo4x wx3WpOyln5tvUDo7sIxYq+OuSS1t7qG X-Received: by 2002:a05:600c:3b20:b0:434:9df4:5485 with SMTP id 5b1f17b1804b1-43668b76ae9mr424281655e9.32.1736153479890; Mon, 06 Jan 2025 00:51:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IHI6dbY0ZU/ixtznukD4L7Xl7l/N53yDcvbHdTXuZzsN4F1ae4y50pg46prSiKljOCD404rlw== X-Received: by 2002:a05:600c:3b20:b0:434:9df4:5485 with SMTP id 5b1f17b1804b1-43668b76ae9mr424281435e9.32.1736153479413; Mon, 06 Jan 2025 00:51:19 -0800 (PST) Received: from localhost ([2a01:e0a:b25:f902::ff]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436604e9c2csm562170745e9.43.2025.01.06.00.51.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 00:51:18 -0800 (PST) Date: Mon, 6 Jan 2025 09:51:18 +0100 From: Maxime Ripard To: Dave Airlie , Simona Vetter Cc: Jani Nikula , Joonas Lahtinen , Tvrtko Ursulin , Rodrigo Vivi , Thomas Zimmermann , Maarten Lankhorst , Maxime Ripard , Thomas =?utf-8?q?Hellstr=C3=B6m?= , Oded Gabbay , Lucas De Marchi , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, dim-tools@lists.freedesktop.org Subject: [PULL] drm-misc-next Message-ID: <20250106-augmented-kakapo-of-action-0cf000@houat> MIME-Version: 1.0 Content-Disposition: inline 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, Here's the (last, probably) drm-misc-next PR that covers what has been merged during the holidays season. Maxime drm-misc-next-2025-01-06: drm-misc-next for 6.14: UAPI Changes: - Clarify drm memory stats documentation Cross-subsystem Changes: Core Changes: - sched: Documentation fixes, Driver Changes: - amdgpu: Track BO memory stats at runtime - amdxdna: Various fixes - hisilicon: New HIBMC driver - bridges: - Provide default implementation of atomic_check for HDMI bridges - it605: HDCP improvements, MCCS Support The following changes since commit 1e93f594285faef57651a0c89f61a7d976db7def: drm/bridge: synopsys: Fix Copyright Writing Style of dw-hdmi-qp (2024-12-19 11:09:35 +0100) are available in the Git repository at: https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-next-2025-01-06 for you to fetch changes up to 938fbb16aba8f7b88e0fdcf56f315a5bbad41aad: drm/rockchip: vop2: Support 32x8 superblock afbc (2025-01-05 17:00:06 +0100) ---------------------------------------------------------------- drm-misc-next for 6.14: UAPI Changes: - Clarify drm memory stats documentation Cross-subsystem Changes: Core Changes: - sched: Documentation fixes, Driver Changes: - amdgpu: Track BO memory stats at runtime - amdxdna: Various fixes - hisilicon: New HIBMC driver - bridges: - Provide default implementation of atomic_check for HDMI bridges - it605: HDCP improvements, MCCS Support ---------------------------------------------------------------- Ahmad Fatoum (3): dt-bindings: vendor-prefixes: add prefix for Topland Electronics (H.K) dt-bindings: display: panel-simple: Document Topland TIAN-G07017-01 drm: panel-simple: support TOPLAND TIAN G07017 LCD panel Andy Yan (1): drm/rockchip: vop2: Support 32x8 superblock afbc Bagas Sanjaya (1): drm/sched: Fix drm_sched_fini() docu generation Baihan Li (5): drm/hisilicon/hibmc: add dp aux in hibmc drivers drm/hisilicon/hibmc: add dp link moduel in hibmc drivers drm/hisilicon/hibmc: add dp hw moduel in hibmc driver drm/hisilicon/hibmc: refactored struct hibmc_drm_private drm/hisilicon/hibmc: add dp module in hibmc Dmitry Baryshkov (14): drm/display: bridge_connector: provide atomic_check for HDMI bridges drm/bridge: ite-it6263: drop atomic_check() callback drm/bridge: lontium-lt9611: drop atomic_check() callback drm/bridge: dw-hdmi-qp: drop atomic_check() callback ASoC: hdmi-codec: pass data to get_dai_id too ASoC: hdmi-codec: move no_capture_mute to struct hdmi_codec_pdata drm/connector: implement generic HDMI audio helpers drm/bridge: connector: add support for HDMI codec framework drm/bridge: lt9611: switch to using the DRM HDMI codec framework drm/display/hdmi: implement hotplug functions drm/bridge_connector: hook drm_atomic_helper_connector_hdmi_hotplug() drm/vc4: hdmi: switch to using generic HDMI Codec infrastructure drm/vc4: hdmi: stop rereading EDID in get_modes() drm/vc4: hdmi: use drm_atomic_helper_connector_hdmi_hotplug() Hermes Wu (10): drm/bridge: it6505: Change definition of AUX_FIFO_MAX_SIZE drm/bridge: it6505: improve AUX operation for edid read drm/bridge: it6505: add AUX operation for HDCP KSV list read drm/bridge: it6505: Change definition MAX_HDCP_DOWN_STREAM_COUNT drm/bridge: it6505: fix HDCP Bstatus check drm/bridge: it6505: fix HDCP encryption when R0 ready drm/bridge: it6505: fix HDCP CTS KSV list read with UNIGRAF DPR-100. drm/bridge: it6505: fix HDCP CTS compare V matching drm/bridge: it6505: fix HDCP CTS KSV list wait timer drm/bridge: it6505: add I2C functionality on AUX Linus Walleij (1): MAINTAINERS: Assume maintainership of PL111 Lizhi Hou (7): accel/amdxdna: Declare npu device profile as static variables accel/amdxdna: Declare mailbox register base as __iomem pointer accel/amdxdna: Declare aie2_max_col as static accel/amdxdna: Use rcu_access_pointer for __rcu pointer accel/amdxdna: Declare force_cmdlist as static accel/amdxdna: Add __user to second parameter of aie2_query_status accel/amdxdna: Declare npu6_dev_priv as static Rob Herring (Arm) (1): drm: Use of_property_present() for non-boolean properties Xin Ji (1): drm/bridge:anx7625: Update HDCP content status Yunxiang Li (5): drm: add drm_memory_stats_is_zero drm: make drm-active- stats optional Documentation/gpu: Clarify drm memory stats definition drm/amdgpu: remove unused function parameter drm/amdgpu: track bo memory stats at runtime .../bindings/display/panel/panel-simple.yaml | 2 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + Documentation/gpu/drm-usage-stats.rst | 54 ++-- MAINTAINERS | 3 +- drivers/accel/amdxdna/aie2_ctx.c | 2 +- drivers/accel/amdxdna/aie2_pci.c | 6 +- drivers/accel/amdxdna/aie2_pci.h | 2 +- drivers/accel/amdxdna/amdxdna_mailbox.c | 24 +- drivers/accel/amdxdna/amdxdna_mailbox.h | 4 +- drivers/accel/amdxdna/amdxdna_pci_drv.c | 2 +- drivers/accel/amdxdna/npu1_regs.c | 2 +- drivers/accel/amdxdna/npu2_regs.c | 2 +- drivers/accel/amdxdna/npu4_regs.c | 2 +- drivers/accel/amdxdna/npu5_regs.c | 2 +- drivers/accel/amdxdna/npu6_regs.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c | 17 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 111 +++---- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 209 ++++++++++--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 26 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 1 + drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 3 +- drivers/gpu/drm/bridge/analogix/anx7625.c | 76 ++--- drivers/gpu/drm/bridge/ite-it6263.c | 10 - drivers/gpu/drm/bridge/ite-it6505.c | 335 +++++++++++++++++---- drivers/gpu/drm/bridge/ite-it66121.c | 4 +- drivers/gpu/drm/bridge/lontium-lt9611.c | 179 +++++------ drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 3 +- drivers/gpu/drm/bridge/sii902x.c | 7 +- .../gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 3 +- drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 17 -- drivers/gpu/drm/display/Kconfig | 8 + drivers/gpu/drm/display/Makefile | 2 + drivers/gpu/drm/display/drm_bridge_connector.c | 151 +++++++++- drivers/gpu/drm/display/drm_hdmi_audio_helper.c | 190 ++++++++++++ drivers/gpu/drm/display/drm_hdmi_state_helper.c | 57 ++++ drivers/gpu/drm/drm_connector.c | 5 + drivers/gpu/drm/drm_file.c | 23 +- drivers/gpu/drm/drm_panel.c | 2 +- drivers/gpu/drm/exynos/exynos_hdmi.c | 2 +- drivers/gpu/drm/hisilicon/hibmc/Makefile | 3 +- drivers/gpu/drm/hisilicon/hibmc/dp/dp_aux.c | 164 ++++++++++ drivers/gpu/drm/hisilicon/hibmc/dp/dp_comm.h | 63 ++++ drivers/gpu/drm/hisilicon/hibmc/dp/dp_config.h | 19 ++ drivers/gpu/drm/hisilicon/hibmc/dp/dp_hw.c | 220 ++++++++++++++ drivers/gpu/drm/hisilicon/hibmc/dp/dp_hw.h | 28 ++ drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.c | 332 ++++++++++++++++++++ drivers/gpu/drm/hisilicon/hibmc/dp/dp_reg.h | 76 +++++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_dp.c | 118 ++++++++ drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 14 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 19 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_i2c.c | 37 ++- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 20 +- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- drivers/gpu/drm/i915/i915_drm_client.c | 1 + drivers/gpu/drm/mediatek/mtk_dp.c | 2 +- drivers/gpu/drm/mediatek/mtk_hdmi.c | 2 +- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 +- drivers/gpu/drm/panel/panel-simple.c | 34 +++ drivers/gpu/drm/rockchip/cdn-dp-core.c | 2 +- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 17 +- drivers/gpu/drm/scheduler/sched_main.c | 3 +- drivers/gpu/drm/sti/sti_hdmi.c | 2 +- drivers/gpu/drm/vc4/Kconfig | 1 + drivers/gpu/drm/vc4/vc4_hdmi.c | 104 ++----- drivers/gpu/drm/vc4/vc4_hdmi.h | 2 - drivers/gpu/drm/xe/xe_drm_client.c | 1 + include/drm/display/drm_hdmi_audio_helper.h | 22 ++ include/drm/display/drm_hdmi_state_helper.h | 5 + include/drm/drm_bridge.h | 74 +++++ include/drm/drm_connector.h | 132 ++++++++ include/drm/drm_file.h | 1 + include/drm/drm_gem.h | 14 +- include/sound/hdmi-codec.h | 7 +- sound/soc/codecs/hdmi-codec.c | 4 +- 79 files changed, 2516 insertions(+), 606 deletions(-) create mode 100644 drivers/gpu/drm/display/drm_hdmi_audio_helper.c create mode 100644 drivers/gpu/drm/hisilicon/hibmc/dp/dp_aux.c create mode 100644 drivers/gpu/drm/hisilicon/hibmc/dp/dp_comm.h create mode 100644 drivers/gpu/drm/hisilicon/hibmc/dp/dp_config.h create mode 100644 drivers/gpu/drm/hisilicon/hibmc/dp/dp_hw.c create mode 100644 drivers/gpu/drm/hisilicon/hibmc/dp/dp_hw.h create mode 100644 drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.c create mode 100644 drivers/gpu/drm/hisilicon/hibmc/dp/dp_reg.h create mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_dp.c create mode 100644 include/drm/display/drm_hdmi_audio_helper.h