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 B8F1DCA1009 for ; Wed, 3 Sep 2025 10:30:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 779DA10E1FF; Wed, 3 Sep 2025 10:30:50 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="j6ir+1HZ"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id A80A710E1FF; Wed, 3 Sep 2025 10:30:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1756895449; x=1788431449; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=tMVHaE47i+wRQrFAdbtLGpU+CJLFFfCFi2JWtpkC3mY=; b=j6ir+1HZ2yUlcIPRKlozLEp4Zyv/0z0H/xIqfAqLsSNchy64msoQp/Ml ObMcBlDNGDF6yAMrIVe3gvcFtGKQU5X1fFAcLdmBDFbKod56akJUr+ApY PKtvh1H3ZIW+2OR0sCOrdaqwIGS/hA66GBdh5muz1/qdL4Xx0TZgHiFb/ 2kRW8cJ9VTeGXlx+1K6UwKLR3sFxgoyTilhSOXk3/cRgS4FICwP+UEcMH yj1BS59VvsoWEVzrFYq+7TQDJnQ2LlyGEBt7aO6/Ny4m9FjUfDZ6wlW91 lrr8zfp/bRAK/r/mVfoG3kezhhagwGUyjNb8Xs3j6TLyxJN/ev5rC2d+y Q==; X-CSE-ConnectionGUID: IRISE7aMT5aKOZBRyKt28Q== X-CSE-MsgGUID: 5hfw3BX3TUuw5MfWokge1A== X-IronPort-AV: E=McAfee;i="6800,10657,11541"; a="59318754" X-IronPort-AV: E=Sophos;i="6.18,233,1751266800"; d="scan'208";a="59318754" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2025 03:30:49 -0700 X-CSE-ConnectionGUID: Zf2Ty5lSQQ+YW+mQdKYgbg== X-CSE-MsgGUID: 9zG3l2tbRxOVqzQEFxQkHw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.18,233,1751266800"; d="scan'208";a="195181757" Received: from administrator-system-product-name.igk.intel.com ([10.91.214.181]) by fmviesa002.fm.intel.com with ESMTP; 03 Sep 2025 03:30:48 -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: [PATCH v10 0/1] drm/i915/display: Add no_psr_reason to PSR debugfs Date: Wed, 3 Sep 2025 12:31:51 +0200 Message-ID: <20250903103152.2440348-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-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" Next version of v9 [1]. Took into consideration from Jouni's review [2]. IGT patch associated with this patch: [3]. [1] https://lore.kernel.org/intel-gfx/20250901170003.1582933-1-michal.grzelak@intel.com [2] https://lore.kernel.org/intel-gfx/396e5e6060ff65188b23717e026631bbdec76f00.camel@intel.com [3] https://lore.kernel.org/igt-dev/20250828104311.1279788-1-michal.grzelak@intel.com Test-with: 20250828104311.1279788-2-michal.grzelak@intel.com Best regards, Michał --- Changelog: 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