From mboxrd@z Thu Jan 1 00:00:00 1970 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 DC846FF4942 for ; Mon, 30 Mar 2026 04:22:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3311810E3D8; Mon, 30 Mar 2026 04:22:51 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="QjcjDHcp"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id D2E0C10E3B3; Mon, 30 Mar 2026 04:22:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1774844567; x=1806380567; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nYoAlHT5Tn3kS34ljay+03k7XTyNaNRZj/rTPZVF8qA=; b=QjcjDHcpcsF7/Qc+nHJylkcHEhnyE4NjERHMFIvcQQaLt7kuZtSpKfUx +cucEtKqDqU06e79SC3DhptdgIPG4GN8pq2kFQ65KFvDmviOyyrC5dSou 9oycWtrdIFyFRGBurLT+QlAeQTYjyQu7O9jyVN6s1aQ/p4Mx80B2CGwWc GCb+/15a+Rn+mIyi9Ln40PP8A5PUy52zpb2AaJVRSEq3h5+nAsIPasP7G iPFjF8y3Kf3C7pzNRIc9WX8pJeMxJbFdyD04aA704kvE86e0YgRKLtJt9 gPHEcwjfWrYnBKYdd4Qeuldvc1RCNMagQ/qAG2bDSHOOIyqpjzF+B2Mx/ g==; X-CSE-ConnectionGUID: Ob4Re+itRlOhYMyS3DtcSg== X-CSE-MsgGUID: KvxQTqlDRVKKhvZe/66ujA== X-IronPort-AV: E=McAfee;i="6800,10657,11743"; a="87218258" X-IronPort-AV: E=Sophos;i="6.23,149,1770624000"; d="scan'208";a="87218258" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2026 21:22:46 -0700 X-CSE-ConnectionGUID: EjccqeHCQr6JZ/x40P38nw== X-CSE-MsgGUID: g2zvtRCVSD6HhVAnSh6FVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,149,1770624000"; d="scan'208";a="263871418" Received: from srr4-3-linux-103-aknautiy.iind.intel.com ([10.223.34.160]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2026 21:22:44 -0700 From: Ankit Nautiyal To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: ville.syrjala@linux.intel.com, jouni.hogander@intel.com, animesh.manna@intel.com, Ankit Nautiyal Subject: [PATCH 19/19] drm/i915/dp: Always enable AS SDP if supported by source + sink Date: Mon, 30 Mar 2026 09:36:56 +0530 Message-ID: <20260330040656.4116502-20-ankit.k.nautiyal@intel.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20260330040656.4116502-1-ankit.k.nautiyal@intel.com> References: <20260330040656.4116502-1-ankit.k.nautiyal@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" Currently AS SDP is only configured when VRR is enabled. However, other use cases like CMRR, Panel Replay, etc. also send information to the sink via AS SDPs. With optimized guardband, we also need to account for wakeup time and other relevant details that depend on the AS SDP position whenever AS SDP is enabled. If a feature enabling AS SDP gets turned on later (after modeset), the guardband might not be sufficient and may need to increase, triggering a full modeset. To avoid this, always send AS SDP whenever the source and sink both support it. Signed-off-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c index 7da3dee226a0..81be0767927e 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -3136,7 +3136,7 @@ static bool intel_dp_can_use_as_sdp(struct intel_dp *intel_dp, if (drm_dp_is_branch(intel_dp->dpcd)) return false; - return crtc_state->vrr.enable; + return true; } static void intel_dp_compute_as_sdp(struct intel_dp *intel_dp, -- 2.45.2