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 E0829C43458 for ; Mon, 6 Jul 2026 11:59:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6631D10E936; Mon, 6 Jul 2026 11:59:56 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="avi2w+mq"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 17BD910E924; Mon, 6 Jul 2026 11:59: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=1783339196; x=1814875196; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vQMvJ4OLKgkFZrZs5cejGyWC4azW+2offAbPvRFi520=; b=avi2w+mqpbN5+ibWbLQ0lmZJK26V975iVS3oxPrjRYvgU6z/1fBlg7rZ xCHfwiGXjTsB57DtOvfit9IlFp50dLZhYjq6GBo84Ot0rGI7i3XK0UzTK MeHn6nYpcUDyV0URluMaEG1yliLt+KLPbBaN6bJ8mvTEqnE8ZQRq9nc6d XCt1fqB6i6yE3hdKY8An8sn0egmdTUBHXDv7/zSGNzjWLUqgCyWD+AsZC AApa67cJ0uK8PPVF0iTIZgD6yo8e1kT4qmRKTZ/35MA2TJ3F1h5PDrSM0 fPSKruMSAf2mgwZszbLLoIZ07Us0AKH+EatzCwArB1qY5bj10Sk6GsloL Q==; X-CSE-ConnectionGUID: l+vtaAV+RtySkAEr72/gMg== X-CSE-MsgGUID: ERHq2qokR62KQ9p1iM6PkQ== X-IronPort-AV: E=McAfee;i="6800,10657,11838"; a="95481139" X-IronPort-AV: E=Sophos;i="6.25,149,1779174000"; d="scan'208";a="95481139" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2026 04:59:55 -0700 X-CSE-ConnectionGUID: pQPaBjh7SIO/vghXYP299A== X-CSE-MsgGUID: eEqIIC46TqONmRGznOXGGA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,149,1779174000"; d="scan'208";a="253797588" Received: from nemesa.iind.intel.com ([10.190.239.22]) by orviesa007.jf.intel.com with ESMTP; 06 Jul 2026 04:59:54 -0700 From: Nemesa Garg To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: Nemesa Garg Subject: [PATCH 6/6] drm/i915/cursor: Allow joiner cursor fast path update Date: Mon, 6 Jul 2026 17:26:29 +0530 Message-Id: <20260706115629.2984258-7-nemesa.garg@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20260706115629.2984258-1-nemesa.garg@intel.com> References: <20260706115629.2984258-1-nemesa.garg@intel.com> MIME-Version: 1.0 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" The legacy cursor path forced all joiner updates to the slow path by checking joiner_pipes. Drop the condition so that joiner cursor updates can use the fast path. v4: Trimmed to only the joiner_pipes gate drop. [Chaitanya] Assisted-by: Claude:claude-sonnet-4.6 Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_cursor.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_cursor.c b/drivers/gpu/drm/i915/display/intel_cursor.c index 68e73afad330..f431c00c03ac 100644 --- a/drivers/gpu/drm/i915/display/intel_cursor.c +++ b/drivers/gpu/drm/i915/display/intel_cursor.c @@ -901,13 +901,10 @@ intel_legacy_cursor_update(struct drm_plane *_plane, * PSR2 selective fetch also requires the slow path as * PSR2 plane and transcoder registers can only be updated during * vblank. - * - * FIXME joiner fastpath would be good */ if (!crtc_state->hw.active || intel_crtc_needs_modeset(crtc_state) || - intel_crtc_needs_fastset(crtc_state) || - crtc_state->joiner_pipes) + intel_crtc_needs_fastset(crtc_state)) goto slow; /* -- 2.25.1