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 3765A10ED65C for ; Fri, 27 Mar 2026 11:55:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E771210EC58; Fri, 27 Mar 2026 11:55:56 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="ZvyMudzV"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7B5D910EC4D; Fri, 27 Mar 2026 11:55:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1774612555; x=1806148555; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=6alnfp2vPlDIbbpKbsDyRVgTxJMerpMg5Y9fPzSrxww=; b=ZvyMudzV48qvKwePKvJhl5ARJPqRHunzMGgZI9NQZIqltyuEAQcfoF/7 FOmPCSRUQ/PsNepVkiUXu7+ubZfDOdElQsDUw1lxEXC0KkbvnUDJ9M3Eg kdiQHYBP7XU9Z1xhRtsM3hj+uU/Gp/aZPwOp4hUhYMnxTYmEUcKok92x8 JyXwOhvm2rC9OOuVCjT3q/DjEAiLpoRs+Quc9kKKb6EaCNGam8zEyd2F6 JVuJihoXCMHj42gcq1Y1hdl4p8wVqwhsz67TNsipEgSc6fEoGNKRv3b6e cXmOu2TR8uJhtan1cdxVuMHXmvwK8lMTA3ZZq+sG3af2xE/sWKGlUeh/t Q==; X-CSE-ConnectionGUID: e82/jjH0STO5PHZ9BOWJlg== X-CSE-MsgGUID: JL2DFAkiQmGKtsjXX5Rz5g== X-IronPort-AV: E=McAfee;i="6800,10657,11741"; a="93265145" X-IronPort-AV: E=Sophos;i="6.23,144,1770624000"; d="scan'208";a="93265145" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2026 04:55:55 -0700 X-CSE-ConnectionGUID: smU4y3vLSjmQmROvntxNYw== X-CSE-MsgGUID: IZAiiKn7TsquOdvJ2lmvVQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,144,1770624000"; d="scan'208";a="225543135" Received: from mjarzebo-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.246.226]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2026 04:55:52 -0700 From: Jani Nikula To: Jouni =?utf-8?Q?H=C3=B6gander?= , intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: Jouni =?utf-8?Q?H=C3=B6gander?= , stable@vger.kernel.org Subject: Re: [PATCH] drm/i915/psr: Do not use pipe_src as borders for SU area In-Reply-To: <20260327114553.195285-1-jouni.hogander@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs Bertel Jungin Aukio 5, 02600 Espoo, Finland References: <20260327114553.195285-1-jouni.hogander@intel.com> Date: Fri, 27 Mar 2026 13:55:49 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" On Fri, 27 Mar 2026, Jouni H=C3=B6gander wrote: > @@ -2866,6 +2867,9 @@ int intel_psr2_sel_fetch_update(struct intel_atomic= _state *state, > struct intel_crtc_state *crtc_state =3D intel_atomic_get_new_crtc_state= (state, crtc); > struct intel_plane_state *new_plane_state, *old_plane_state; > struct intel_plane *plane; > + struct drm_rect display_area =3D { .x1 =3D 0, .y1 =3D 0, > + .x2 =3D crtc_state->hw.adjusted_mode.crtc_hdisplay, > + .y2 =3D crtc_state->hw.adjusted_mode.crtc_vdisplay}; Nitpick, following the kernel style here actually improves clarity. struct drm_rect display_area =3D { .x1 =3D 0, .y1 =3D 0, .x2 =3D crtc_state->hw.adjusted_mode.crtc_hdisplay, .y2 =3D crtc_state->hw.adjusted_mode.crtc_vdisplay, }; BR, Jani. --=20 Jani Nikula, Intel