From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE7903BB670 for ; Mon, 12 Oct 2026 22:38:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791844708; cv=none; b=r8O5i2zJjckeegSy/25qTnWnmDlo6Dib3YQoKafHtlplSuZAQEtJRvFEBiMCYspUDoFCJ9TN+TuSOsg8NfJFKY+ffcDnyhEVjDpcQIldb1j908XhBDPsMTR0qpZajVfapcD4rnRY08Os5nRdwSENWwjEo/VDmOXjUNUAxU0Ae1M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791844708; c=relaxed/simple; bh=pwRcY6TnDXR5DQ10eseq0RaBxwoCYK41a8stCepLe0g=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=QuQRSzJci736f0w58SDoV6fYkVaklQ1UUDIURAmv06ljMczixfnOp0Kr0JksiiL/KiKPgtyHUNvOXaSMtKD+tPy7ZZhSGqGIdknIYcfF/4J4HoX5Q82BDJohbiDwCVMSlHtPRyBMiqBopF4gBswBeEKmdURwNqq1+TsWI2s/V4o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=m3AzaQ5H; arc=none smtp.client-ip=148.251.105.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="m3AzaQ5H" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1791844698; bh=pwRcY6TnDXR5DQ10eseq0RaBxwoCYK41a8stCepLe0g=; h=From:Subject:Date:To:Cc:From; b=m3AzaQ5H3btZXC+4NLsDPmRgvkg1KtQKgjNGsRYacEjevUrBUDH1spM+ZvUdtp1sK vyO4I1lgqecJJTPlTrenqrA/1BVd/2HpwmDsnZSLyck7A/TGnTXFfZODV3qszfSjFI BKAagG+oix9PYFqxqCQ2SsdXk1zzc0mqz0jLZMLpoZncx4b/X/fu1DwFK8qLJYz7uN EeXUjDBK0Znq4chcv405ZAiDfONqQmoSh+zr0jR1teF3inO3gpqxFEX4Pb45T31uX9 xsbGs5NRPQizS1SNPureDYCfLUDt3OzUQVGqXAoa0qpgoc7kyDKPozeIvIptBk6LMA pMwc35N9A6ldg== Received: from localhost (unknown [100.64.0.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange secp256r1 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by bali.collaboradmins.com (Postfix) with ESMTPSA id 7233617E05A6; Tue, 13 Oct 2026 00:38:18 +0200 (CEST) From: Cristian Ciocaltea Subject: [PATCH v2 0/8] drm/vc4: hdmi: Convert to common HDMI 2.0 scrambling infrastructure Date: Tue, 13 Oct 2026 01:37:40 +0300 Message-Id: <20261013-vc4-common-scramb-v2-0-a41d15e131ad@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/32NQQ6CMBBFr0Jm7ZiZBrC48h6GRVuL1AA1LTYaw t0tuHf5kvffXyDa4GyEc7FAsMlF56cM4lCA6dV0t+humUGQqJmIMZkSjR9HP2E0QY0aT43UopL UKcmQd89gO/fem9f2x/GlH9bMW2gzehdnHz77aeLN+9dPjIQVC0llTdyU+mL8MCjtgzpmE9p1X b/ejyLZyAAAAA== X-Change-ID: 20261001-vc4-common-scramb-798b2580fa81 To: Maxime Ripard , Dave Stevenson , =?utf-8?q?Ma=C3=ADra_Canal?= , Raspberry Pi Kernel Maintenance , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Simona Vetter Cc: kernel@collabora.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.15.2 This series includes patches 42-48 from "[PATCH v11 00/74] Add HDMI 2.0 support to DW HDMI QP TX" [1], which convert the VC4 HDMI driver to the common HDMI 2.0 scrambling infrastructure as a proof of concept for reusing the shared code. It adopts the shared TMDS character rate constants, switches to drm_hdmi_mode_needs_scrambling() and force_ctx(), fixes -EDEADLK handling, and replaces the driver-local scrambling implementation with the common SCDC scrambling helpers. The infrastructure patches have been merged and there are no remaining dependencies, so the vc4 patches are now sent as a separate series, rebased on top of the latest drm-misc-next. Tested on a Raspberry Pi 5 Model B Rev 1.1 (BCM2712 D0). [1] https://lore.kernel.org/all/20260901-dw-hdmi-qp-scramb-v11-0-bc12954a0688@collabora.com/ Signed-off-by: Cristian Ciocaltea --- Changes in v2: - Added new patch "Bump BCM2835 max pixel clock to 165 MHz" (Dave) - Simplified the last patch "Defer pixel clock validation to HDMI helpers" by dropping the now unneeded adjustment of supported_tmds_char_rate in vc4_hdmi_connector_funcs_hdmi12 - Rebased series onto latest drm-misc-next - Link to v1: https://patch.msgid.link/20261001-vc4-common-scramb-v1-0-51280460194b@collabora.com --- Cristian Ciocaltea (8): drm/vc4: hdmi: Use common TMDS char rate constants drm/vc4: hdmi: Bump BCM2835 max pixel clock to 165 MHz drm/vc4: hdmi: Switch to drm_hdmi_mode_needs_scrambling() drm/vc4: hdmi: Switch to .force_ctx() connector helper drm/vc4: hdmi: Propagate -EDEADLK to the top level drm/vc4: hdmi: Convert to drmm_connector_hdmi_init() drm/vc4: hdmi: Convert to common HDMI 2.0 scrambling infrastructure drm/vc4: hdmi: Defer pixel clock validation to HDMI helpers drivers/gpu/drm/vc4/vc4_hdmi.c | 360 ++++++++++------------------------------- drivers/gpu/drm/vc4/vc4_hdmi.h | 30 +--- 2 files changed, 89 insertions(+), 301 deletions(-) --- base-commit: 3e32932d3626d0279f9b3531bd648f8c0a16cb08 change-id: 20261001-vc4-common-scramb-798b2580fa81