From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AB9D606A31E for ; Wed, 25 Nov 2026 14:58:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=metarealtyinc.ca header.i=@metarealtyinc.ca header.a=rsa-sha256 header.s=google header.b=TIMNWBYf Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D870910FCBB; Wed, 25 Nov 2026 14:58:41 +0000 (UTC) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by gabe.freedesktop.org (Postfix) with ESMTPS id 843E410E89B for ; Tue, 24 Nov 2026 15:36:58 +0000 (UTC) Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-94961d90b79so499419485a.3 for ; Tue, 24 Nov 2026 07:36:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=metarealtyinc.ca; s=google; t=1795534617; x=1796139417; darn=lists.freedesktop.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=XfcsbYjAJ0vhyPQMgTUzJ/Zehue/sf644GRkC36iL7E=; b=TIMNWBYfQnKL5A/2nb6kh6ST7EQB/e9cc7ZgZGnIQdGkfJqiI8stnVwYN70Kk2wP/j RXzjvgCOWp0iJx4nDu6p9AUEOGKMWDHdqajHmuZ8oawcXKxt9AnG8oy43EKYV/JGprNQ dUJk48NTvxBD9GVzzOhpS3I0QA9f8PCazVW2Nl6/hBFnoWb2kYfRdlAYh6V8pxbT8GAu DKZQYDGu5CzQzsuYNaBaeBLdOcU18xL8uRmK6o0/evx8ULd1bBPph2BP5QHT8Eqme32d na6jbxuuCkyRDifKhGpLOW1NwjBY8Y7ZNNj/lXSbouX2yCLIpgVAhmH7OTUSIONh7BGi vadg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795534617; x=1796139417; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=XfcsbYjAJ0vhyPQMgTUzJ/Zehue/sf644GRkC36iL7E=; b=02iLr499CtW0bEtUW1QKB4VrhB23cJ5CshoN6DJNgjhPt2rmnIN1OjDEEdfzq9MXnC YnP2RsV5wKcJzdqYQe32HtouYCOqOUcthjMtvhbYJS4ouq+dT9hlNyV+4E3d4x7loBL8 a5fjj23mvtc0pWs1i1/joxZGly5zA/eC2fnrLyDRHK7GG3v4P6pY7/OPorpiddmJ295q pEHnb0AOlvlaO13+VSHj7ubQML2UGxH7c5SXXy6Yw0272zsyNkXMLLjicU8oqWiochwK Kmu1vBNVy8HB7GGRFMn6kbyDHguTuABLJcFNv/ULTv3UP4hTUeHXq2IgwD2jhhf/W4U/ lnyA== X-Forwarded-Encrypted: i=1; AL+hErHcd1/2ixyeC8MOKCWqbSO+TN+83vtm9P3KtRF5vyKlwx1qYQnAPizt0FpBEVDqAg+Ig3gKMkLxaw==@lists.freedesktop.org X-Gm-Message-State: APuU4Z+jS6BgA8SNaFdcmY2AItU2TQpAJL+KUkbykiNkn6t2xOKFbTfs oO6asQ4d3zktjmAFsUkdUwSIH1XnJ2zKLmMcAs6oHSg24q10ygYQM6bdLcdu9+iV9Lc= X-Gm-Gg: AZFdTZcouc2fiG4THwByj5WFg2rMPyszbHK1sezE67VKt4SB3kupwkFSx5iZdet7Njt 5sVWyVDvV6XNk30i2saFRTe4UQ3OdIZzvS3Xj81aq/WYps13P3r/8sF8uGM3nkD3tUFg5KzQuLO pCRyrXGYgHTWF+hgeP2woTeNKqcGDwbU/ab20y/MVGbdLjowMwv5JeECORZ14990uo6q32tqrLD ui/B5MRNxIdf8rmUR1e+2lzfzQ7UuS+iTYlHPkTGqemmGvVzXGwQmpsiEwIdNZ8yDDPBbyCA28s +yl4paNaijYTg3C1wS2c7Y+PS34sY4Wo+ZiDCTxfSGjgFaVpS3UWuDQiOXqYnQMfS6Lj1gJcnmA uRZOJETO7lZSIfUfH7icoGy3/BoiLDpmtkvIh2Rpz4eyYmOJDCfWuuOqhntUpSY5Fg/ZBhFXg+j l0mHBuKejhqByJaFyizJ8ZfLX/IWN7VAnIdusneDWd2sT4p/amPQjtR2Lxqc21hOGucIEHFxVl/ G2leeUAcoI9AmWhYqsXC7GRC8WBUCTTdq3rIj/R0egRFMjL6BobSRM8DY2hz+N0t0DNtCy0rwjm /d9k/tIFAbki8WoOnW+g51wYckReD24MU9/Iud/1rhFczjiSouGs4jNag90tumadJCVI/fUuAP+ o3fCv5NYrRtiZacBQdzACpXcWBSEf47O+92LF3AIvIiBvpvL9CEVBYLiPf5RRKldNfcG85ZElKH 5KfVjiNpjOR9DN+L09KYwfMC20yRHzjyfqhveuKjjSD+698bWUg/4gdC87NTS3xBIHYSH6vpGRp 7Yy9WoDq8KwMg== X-Received: by 2002:a05:620a:4713:b0:93f:735:6c83 with SMTP id af79cd13be357-949ba9e9b76mr2492027685a.56.1795534617177; Tue, 24 Nov 2026 07:36:57 -0800 (PST) Received: from jake-laptop ([2607:fea8:c6:a700::ec62]) by smtp.gmail.com with ESMTPSA id af79cd13be357-94a0175c67fsm26215985a.31.2026.11.24.07.36.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2026 07:36:56 -0800 (PST) From: Jake Steinman To: jouni.hogander@intel.com, ville.syrjala@linux.intel.com Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, animesh.manna@intel.com, ankit.k.nautiyal@intel.com, uma.shankar@intel.com, rodrigo.vivi@intel.com, jani.nikula@linux.intel.com Subject: [PATCH v3 0/4] drm/i915/psr: Send the AS SDP in PR Active while frames are updating Date: Tue, 24 Nov 2026 10:36:51 -0500 Message-ID: X-Mailer: git-send-email 2.56.1 In-Reply-To: <3077ed0636a6c98e919934d2c860461f98222537.camel@intel.com> References: <3077ed0636a6c98e919934d2c860461f98222537.camel@intel.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 25 Nov 2026 14:58:40 +0000 X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Intel-xe" X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Jouni, Ville, v3 with Jouni's review comments on v2 and the sashiko-bot findings. It still uses frame updates as the trigger. Only non-flip flushes exit Panel Replay; for ORIGIN_FLIP intel_psr_flush() jumps to rearm, so PR stays enabled and does selective updates while the hook clears the bit. That is the path the judder is on here, and v2 has been smoother than the vblank version in daily use. Jouni prefers going back to vblank and Ville objected to it in the RFC thread, so I'll leave the trigger to the two of you and respin with whichever you agree on. The frame update trigger is unchanged from v2, which has run daily on 7.4-rc3/rc4 on the Dell XPS 16 DA16260 (PTL, xe). The v3 changes are build tested on drm-tip (W=1, i915 and xe, each patch). Changes since v2: - Use intel_dp->alpm.transcoder in the helper (Jouni) - Compute disable_as_sdp_when_pr_active in intel_psr_compute_config_late() (Jouni) - Don't set the bit at PR enable, start with the AS SDP sent and let the idle work suspend it (Jouni) - Just stop setting the bit in intel_alpm_configure_pr_as_sdp() instead of keeping its value (Jouni), which also fixes a stale bit (sashiko) - Update the latched setting on a seamless VRR toggle (sashiko) Jake Steinman (4): drm/i915/alpm: Add a helper to suspend the AS SDP in PR Active drm/i915/psr: Send the AS SDP in PR Active while frames are updating drm/i915/alpm: Leave AS SDP Transmission in Active Disable to PSR code drm/i915/display: Remove the Panel Replay quirk for Dell XPS 16 DA16260 drivers/gpu/drm/i915/display/intel_alpm.c | 44 ++++++- drivers/gpu/drm/i915/display/intel_alpm.h | 4 + .../drm/i915/display/intel_display_types.h | 5 + drivers/gpu/drm/i915/display/intel_psr.c | 120 +++++++++++++++++- drivers/gpu/drm/i915/display/intel_psr.h | 2 + drivers/gpu/drm/i915/display/intel_quirks.c | 8 -- 6 files changed, 165 insertions(+), 18 deletions(-) -- 2.56.1