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 4EED6CCD182 for ; Thu, 2 Oct 2025 09:57:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C685E10E7A0; Thu, 2 Oct 2025 09:57:41 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="WBjYaC62"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by gabe.freedesktop.org (Postfix) with ESMTPS id 540E710E369; Thu, 2 Oct 2025 09:57:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1759399060; x=1790935060; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=TYEC5HtyKdhBAbJcs06I3zg9F1D2NLPr1UyJuzPUR1Q=; b=WBjYaC62eXqfHkhs8FDqGiEpbTHxqb5f59eO3Aad5rYJ1JWzxGvXyWfp PutanIHDQpdpqRY65ZhAz+p1jdU9hGkxbdHPZnfIvTh+IBAsP/Z6xrsDt kF+3Ljy7OX+UDSWw28fZqO7n5f3jaytbxdAcos7WJSbWIFCUf+RjCak2i QzGB00smG6qQHhZg8nwj5myKqCw91/eMeqrQ0+YUCerO0oWlQw6EssPmM oDQ6jsm8Dpv6xkSI8b/YJmCs8vu/ApIn6vbm7OtmUytFmhbFPbiP/gemY U8sIz9CpoHRQfq2B7Wc3IlpTnaL+5ZgMZ0PsUdHY1RoNCuLGDJldEdsaz A==; X-CSE-ConnectionGUID: 5Annit2BSMC7AiEjAsMQkg== X-CSE-MsgGUID: ngIyw+q5SdWmLMqprpdfLg== X-IronPort-AV: E=McAfee;i="6800,10657,11569"; a="79331543" X-IronPort-AV: E=Sophos;i="6.18,309,1751266800"; d="scan'208";a="79331543" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2025 02:57:40 -0700 X-CSE-ConnectionGUID: SpNj+/YVQqWN/hi3ZfH9Ng== X-CSE-MsgGUID: xZOJp+MbTdu5I2EFI/4cKw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.18,309,1751266800"; d="scan'208";a="202749291" Received: from administrator-system-product-name.igk.intel.com ([10.91.214.181]) by fmviesa002.fm.intel.com with ESMTP; 02 Oct 2025 02:57:38 -0700 From: =?UTF-8?q?Micha=C5=82=20Grzelak?= To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: jouni.hogander@intel.com, sebastian.brzezinka@intel.com, =?UTF-8?q?Micha=C5=82=20Grzelak?= Subject: [RESEND v11 0/1] drm/i915/display: Add no_psr_reason to PSR debugfs Date: Thu, 2 Oct 2025 11:56:39 +0200 Message-ID: <20251002095640.1347990-1-michal.grzelak@intel.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Organization: Intel Technology Poland sp. z o.o. - ul. Slowackiego 173, 80-298 Gdansk - KRS 101882 - NIP 957-07-52-316 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" Resend of v11 [1]. Added R-B from Jouni. Associated IGT patch [2] got merged; because of it, most probably, Patchwork didn't run the build to test the patch. Now with the Test with tag removed, hopefully, CI should pick the build. [1] https://lore.kernel.org/intel-gfx/20250915141913.939152-1-michal.grzelak@intel.com [2] https://lore.kernel.org/igt-dev/20250828104311.1279788-1-michal.grzelak@intel.com BR, Michał --- Changelog: v10->v11 - update the reason from new_crtc_state instead of old_crtc_state [Jouni] v9->v10 - log reason into intel_crtc_state instead of intel_dp->psr [Jouni] - remove clearing no_psr_reason in intel_psr_compute_config [Jouni] - change update of no_psr_reason into more readable form [Jouni] v8->v9 - add no_psr_reason into struct intel_crtc_state [Jouni] - update the reason in intel_psr_pre_plane_update [Jouni] - elaborate on motivation of the feature in commit message [Sebastian] - copy changelog to commit message [Sebastian] v7->v8 - reset no_psr_reason at the begin of intel_psr_compute_config [Jouni] - restore keep_disabled [Jouni] - drop setting "Sink not reliable" [Jouni] - add WA number [Jouni] - if non-NULL, write no_psr_reason after PSR mode [Jouni] v6->v7 - rebase onto new drm-tip v5->v6 - move setting no_psr_reason to intel_psr_post_plane_update [Jouni] - remove setting no_psr_reason when disabling PSR is temporary [Jouni] v4->v5 - fix indentation errors from checkpatch v3->v4 - change format of logging workaround #1136 v2->v3 - change reason description to be more specific [Mika] - remove BSpecs number & WA number from being written into no_psr_reason - replace spaces with tabs v1->v2 - set other reasons than "PSR setup timing not met" - clear no_psr_reason when activating PSR. Michał Grzelak (1): drm/i915/display: Add no_psr_reason to PSR debugfs .../drm/i915/display/intel_display_types.h | 3 +++ drivers/gpu/drm/i915/display/intel_psr.c | 22 +++++++++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) -- 2.45.2