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 D248EC982C1 for ; Thu, 17 Sep 2026 05:07:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A8C610E386; Thu, 17 Sep 2026 05:07:36 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="JIglTpa2"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by gabe.freedesktop.org (Postfix) with ESMTPS id 446BC10E3B1; Thu, 17 Sep 2026 05:07:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1789621655; x=1821157655; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=qX7LBRZMfMaj8FtyJ/w4RhYcYxuLMLzSxxo1ARu0U8o=; b=JIglTpa2+x68MWPTuGTiI3rRvb4w4T8hhfdtu/9nBpk+1kedrU/TJ36t puUErG7WWjA1sOn5BHtARrSzFYjESIJ7DohcDA7ne1OqiyQ/o6ak/14uS eptlEP4syp2yaL3ixBG0CcIDKu5ZVbU2dvAILexsfdU4SDhNc+IcqKm3+ 87LEivcTqsuzMolz6pFZQppuyvTLPATxhTmRcDz01du3CJb2rQe+KvnpB v0pu3KS5nTAVxaTt/Bd5/QzfFbutlrJfEOReF4pV4wF2ZrDqrGxpvRbdC 1JZZpA44ZCQjd4DX6aAUIwPFm9gFRHYp6QBmfFICq73D+HhThFx9y2nRh A==; X-CSE-ConnectionGUID: zCf3U7jgSd2ILX2uvIudiw== X-CSE-MsgGUID: aziX1YDkRq+bXdXOEv7mcA== X-IronPort-AV: E=McAfee;i="6800,10657,11905"; a="77569657" X-IronPort-AV: E=Sophos;i="6.27,103,1787036400"; d="scan'208";a="77569657" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2026 22:07:35 -0700 X-CSE-ConnectionGUID: eCqAgBFDSi6za8KwyGy1Iw== X-CSE-MsgGUID: DjuJMSvtRZCjBSQeI8giwA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,103,1787036400"; d="scan'208";a="278798945" Received: from kandpal-x299-ud4-pro.iind.intel.com ([10.190.239.10]) by fmviesa005.fm.intel.com with ESMTP; 16 Sep 2026 22:07:33 -0700 From: Suraj Kandpal To: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: ankit.k.nautiyal@intel.com, arun.r.murthy@intel.com, Suraj Kandpal Subject: [PATCH v4 00/10] Implement Wa_14021768792 to bypass m_n ratio limit Date: Thu, 17 Sep 2026 10:36:39 +0530 Message-Id: <20260917050649.871960-1-suraj.kandpal@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" For Platforms that support higher link rates, there is a limitation on Link M /Link N ratio. If the CEILING( Link M / Link N ) ratio is greater than 10.0, then hardware cannot support the given resolution / refresh rate at the given configuration. For BMG Wa_14021768792 helps to bypass this limitation and allows it to support the ratio till 15.0. This series adds the missing restrictions for earlier platforms and adds the Wa_14021768792 for BMG as per Bspec:49266 Ankit Nautiyal (8): drm/i915/display: Add helper to compute link M/N ratio for reuse drm/i915/dp_mst: Limit M/N ratio for MST drm/i915/dp: Add M/N ratio check for DP link config drm/i915/display: Add bits for link_n_extended for DISPLAY >= 14 drm/i915/display_wa: Add support for Wa_14021768792 drm/i915/display: Add bits for Wa_14021768792 for linkm/n ratio > 10 drm/i915/display: Implement Wa_14021768792 for BMG DP for link_m/n ratio > 10 drm/i915/dp: Extend intel_dp_can_support_m_n() for BMG M/N bypass Suraj Kandpal (2): drm/i915/dp: Limit M/N ratio for DP SST drm/i915/dp: Bump the max Link M/N ratio to 22 for DISPLAY_VER >= 35 drivers/gpu/drm/i915/display/intel_display.c | 124 ++++++++++++- drivers/gpu/drm/i915/display/intel_display.h | 4 + .../gpu/drm/i915/display/intel_display_regs.h | 12 ++ .../drm/i915/display/intel_display_types.h | 2 + .../gpu/drm/i915/display/intel_display_wa.c | 9 + .../gpu/drm/i915/display/intel_display_wa.h | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 172 +++++++++++++++++- drivers/gpu/drm/i915/display/intel_dp.h | 6 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 7 + 9 files changed, 326 insertions(+), 11 deletions(-) -- 2.34.1