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 CBA54C43327 for ; Thu, 2 Jul 2026 13:06:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 58C0A10F381; Thu, 2 Jul 2026 13:06:16 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="fzYOzEtg"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 868AA10F389; Thu, 2 Jul 2026 13:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1782997574; x=1814533574; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=XI6sZtE1N+VvmNRtYJ+mzhfcmqL0TttJgeD3UfddJjI=; b=fzYOzEtg8OvuWfeOUhiOfzsEqO6Lv9CfKWR5F3IPZrDcmlawDylWUp9H MSXlfpFHyIhS96dox/V45Ry0de5VTiq9516hiN919jeDsYStzhTYA/Arx wDvCg4zXLgD2BAN5ZdhLROp1bleRb1Rdh3ZUnRdFyTdbH0HtMRhqpe30j 3IYGGuWUWabljs3l8HwYWvH6UpvGso7FoLDitWRzmaPaZ7DWinGhLgGta ivjR5Adp27WibIpzhkheRVoSRg1fEZKI2ho8/bqnt7+wUVWDELJXyKNOR bLqGoartp1dCq1DSoenDp7W6MQxeL2VEXizleLFqptDKvYwe7BSJV/3OJ w==; X-CSE-ConnectionGUID: P6/cnOYETyS8q8gNa7Lmmw== X-CSE-MsgGUID: 0qN9tI5UTR+E5YDASXfBFQ== X-IronPort-AV: E=McAfee;i="6800,10657,11835"; a="83621203" X-IronPort-AV: E=Sophos;i="6.25,143,1779174000"; d="scan'208";a="83621203" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2026 06:06:14 -0700 X-CSE-ConnectionGUID: PYFJYHrXR3mnlH5+Pk3geg== X-CSE-MsgGUID: jhydkSOdSiS8FhwBGhtKzA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,143,1779174000"; d="scan'208";a="257748944" Received: from dut-2a59.iind.intel.com ([10.190.239.113]) by fmviesa005.fm.intel.com with ESMTP; 02 Jul 2026 06:06:11 -0700 From: Chaitanya Kumar Borah To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: Chaitanya Kumar Borah , Kai Vehmanen , Ankit Nautiyal , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Vinod Govindapillai , Mitul Golani Subject: [PATCH 0/2] drm/i915/audio: Add HDMI TMDS audio bandwidth check Date: Thu, 2 Jul 2026 18:12:06 +0530 Message-Id: <20260702124208.2401160-1-chaitanya.kumar.borah@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" This series adds audio bandwidth validation for HDMI TMDS mode. When the available hblank period cannot carry the required audio packets for a given sample rate and channel count, the corresponding frequencies are pruned from the ELD SADs before they reach the audio driver. Sample rates are pruned rather than channel counts because compressed audio formats like Dolby Digital (AC-3) and DTS require a fixed channel configuration to decode. This improves on an earlier attempt which can be seen in [1] [1] https://lore.kernel.org/intel-gfx/20230615063137.2219870-3-mitulkumar.ajitkumar.golani@intel.com/ Cc: Kai Vehmanen Cc: Ankit Nautiyal Cc: Ville Syrjälä Cc: Vinod Govindapillai Cc: Mitul Golani Chaitanya Kumar Borah (2): drm/i915/hdmi: Move audio compute config after format selection drm/i915/audio: Prune ELD SADs based on HDMI audio bandwidth drivers/gpu/drm/i915/display/intel_audio.c | 144 +++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_hdmi.c | 8 +- 2 files changed, 148 insertions(+), 4 deletions(-) -- 2.25.1