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 3F195105F7A5 for ; Fri, 13 Mar 2026 12:22:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4D78810EBD1; Fri, 13 Mar 2026 12:22:14 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="bbYcUi+G"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2940410EBCF; Fri, 13 Mar 2026 12:22:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1773404533; x=1804940533; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Eiz1btDsCpq6cA7cn0d3BPlqbVQv/jCcGf54yHYsjC0=; b=bbYcUi+G9yH1fT8O53ed+pHc3TMmBh09KfHk7vkb8omAOeUXy6Dc96s1 j4Sk7pciAsS8lhB91gDb38aET6mxliujK3lLvdxIPd3yYfD+VRjUKNH3X zMovDQtKa+M/WTwo1I3gUx7/XYRftHFzmQEwxufXOIsEUL1CwgZp9lUgK nz5u8t811dsVtXw3gh8XbAFHK6V8RyFDMHBQw4LRd6RU+y9v2540x1TdD 8FuxCFu1U1USWI9dDGda8XTnQ+5vu8jP+Eey3Gk+9TYrKJl91SeDNC6ke mKoIWqWfaqt1g8LUS9ZY9b1WbJoZUuKnwRaiGmmX6TyN3ym40F9cJgAwy g==; X-CSE-ConnectionGUID: mecb4MWpQzGPRiUhdt2b6Q== X-CSE-MsgGUID: PbYQ0gTzSpKKwXGC/OUrbQ== X-IronPort-AV: E=McAfee;i="6800,10657,11727"; a="77116940" X-IronPort-AV: E=Sophos;i="6.23,118,1770624000"; d="scan'208";a="77116940" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2026 05:22:13 -0700 X-CSE-ConnectionGUID: Bk31KG1PTpKaG9WZtHKhMA== X-CSE-MsgGUID: pZ40fZv6TVqs+1eqYG22Lw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,118,1770624000"; d="scan'208";a="225269263" Received: from amilburn-desk.amilburn-desk (HELO jhogande-mobl3.intel.com) ([10.245.245.196]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2026 05:22:12 -0700 From: =?UTF-8?q?Jouni=20H=C3=B6gander?= To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org, =?UTF-8?q?Jouni=20H=C3=B6gander?= Subject: [PATCH 2/2] drm/i915/psr: Disable Panel Replay on DP_DPCD_QUIRK_NO_PANEL_REPLAY quirk Date: Fri, 13 Mar 2026 14:21:45 +0200 Message-ID: <20260313122145.1747175-3-jouni.hogander@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260313122145.1747175-1-jouni.hogander@intel.com> References: <20260313122145.1747175-1-jouni.hogander@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo 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" Do not detect Panel Replay support if DP_DPCD_QUIRK_NO_PANEL_REPLAY is set for panel. Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/7521 Signed-off-by: Jouni Högander --- drivers/gpu/drm/i915/display/intel_psr.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c index 5041a5a138d1..a62e0bd10f39 100644 --- a/drivers/gpu/drm/i915/display/intel_psr.c +++ b/drivers/gpu/drm/i915/display/intel_psr.c @@ -609,6 +609,12 @@ static void _panel_replay_init_dpcd(struct intel_dp *intel_dp, struct intel_conn if (intel_dp->mst_detect == DRM_DP_MST) return; + if (drm_dp_has_quirk(&intel_dp->desc, DP_DPCD_QUIRK_NO_PANEL_REPLAY)) { + drm_dbg_kms(display->drm, + "Panel Replay support not currently available for this panel\n"); + return; + } + ret = drm_dp_dpcd_read_data(&intel_dp->aux, DP_PANEL_REPLAY_CAP_SUPPORT, &connector->dp.panel_replay_caps.dpcd, sizeof(connector->dp.panel_replay_caps.dpcd)); -- 2.43.0