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 06F5FCD98DA for ; Mon, 15 Jun 2026 09:09:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ADA6610E2EE; Mon, 15 Jun 2026 09:09:06 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; secure) header.d=mailbox.org header.i=@mailbox.org header.b="vcEOD6zS"; dkim-atps=neutral Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1F0FE10E2EE; Mon, 15 Jun 2026 09:09:05 +0000 (UTC) Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4gf4713h8gz9vCH; Mon, 15 Jun 2026 11:09:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1781514541; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/gx6ISjuS0KLlKrytTXzNK62x4YFExrhiac7FKHPvfQ=; b=vcEOD6zSeuZYF0U9aH1N24dXWRdAnhxYAYBV8w7/j78gC4JDZ7G6LmrCvQAT6yS6iczBEk H60WXcZp3QgzqPICw6Rjoze8sZBSv3SI0UFb9peomy3B36IG/FhPbetBhjqhH8Ebbi8TVM SN23YG0TCIsS9rsrU2BnE6peyGSgWefIH1YGJxGRCAmzh23VL2HBX6gZyMdylRYGfi5npm 4TNytIEKI8akqJwuQZTOLXSpnMjeMneVcIhjQAm9/RsqZVjeZInOlKIHJ6s+h8F1JtHGqr NPp39FEIVIlVIU2K+hRPliylgEvaOUQM3DpkD6kmOX13DxZePVO/2mhkIH48Mw== Message-ID: <31da350f-adfc-4b2c-a7c5-5ed884ffd9ca@mailbox.org> Date: Mon, 15 Jun 2026 11:08:59 +0200 MIME-Version: 1.0 Subject: Re: [PATCH 0/4] drm/i915: Work harder to enable VRR based refresh rate changes on eDP From: =?UTF-8?Q?Michel_D=C3=A4nzer?= To: Ville Syrjala , intel-gfx@lists.freedesktop.org Cc: intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, wayland-devel@lists.freedesktop.org References: <20260612144203.31715-1-ville.syrjala@linux.intel.com> <3d441831-71bc-49fd-823f-3af443e55b20@mailbox.org> Content-Language: en-CA In-Reply-To: <3d441831-71bc-49fd-823f-3af443e55b20@mailbox.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: b56fb9f90a12a6ddde7 X-MBO-RS-META: 7cs1drrfn16pyfrq8zr8zwiigjnda764 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" Adding wayland-devel list for awareness, see also https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/5091. On 6/15/26 11:06, Michel Dänzer wrote: > On 6/12/26 16:41, Ville Syrjala wrote: >> From: Ville Syrjälä >> >> Tweak the eDP fixed mode selection algorithm to allow >> userspace to do refresh rate changes on VRR capable >> eDP panels without full modesets. >> >> Ville Syrjälä (4): >> drm/modes: Add DRM_MODE_MATCH_TIMINGS_VRR >> drm/i915: Pass the full atomic state to .compute_config() >> drm/i915/panel: Adjust intel_panel_compute_config() calling convention >> drm/i915/panel: Attempt VRR based refresh rate change for >> !allow_modeset > > What's the motivation for this approach? > > Per https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/5091#note_2784749 , it comes as a bit of a surprise. The approach we've been discussing at display hackfests instead is to add properties for controlling the maximum & minimum refresh rates. > > While the approach in this series could be considered an alternative for the maximum, AFAICT it doesn't allow enforcing a minimum refresh rate which differs from the maximum and default minimum. > > -- Earthling Michel Dänzer \ GNOME / Xwayland / Mesa developer https://redhat.com \ Libre software enthusiast