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 36F82F94CD8 for ; Wed, 22 Apr 2026 07:41:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EB62B10E909; Wed, 22 Apr 2026 07:41:21 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="BEmUMNij"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4906410E8C5; Wed, 22 Apr 2026 07:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1776843680; x=1808379680; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+oqzzC7IWZcSswZgVW/xROM4PziXPsX9BaYO5vqKwEA=; b=BEmUMNijQBvK5SE9tvaMcx2dczjknyw56AHyob37iGVFrH/2sVqM+fhT LgqdJeTaBKmiw2JEgqyry9ybDgF8z/XcoppoyOlnx+JaBuAVCzBLhQ3i8 tPdPHDmPF88TcVHHPafzPwgrScIeuVW3qq32cmCuLN3B3uLkqGU5JMKxz GhiE3gWOAp9+8H0d0LdSPaH0IqkUE1uncOCaLraLxinvVX5FsI3VQtvIP MTczOb62hqosVT5+4gAtWbRXpiXJm8ZdseguyZ6vw+6NAlKbHWxtpBuqI xs9GqWtJ2ofmYqqFN27CZkVgNPiAOYA52UIpdGEnidd7Hxr9Lxv6luREA Q==; X-CSE-ConnectionGUID: +EVujMVyRLeyU1KF+YYopw== X-CSE-MsgGUID: nayTiADVRJi/q828L6A1Pw== X-IronPort-AV: E=McAfee;i="6800,10657,11763"; a="89177167" X-IronPort-AV: E=Sophos;i="6.23,192,1770624000"; d="scan'208";a="89177167" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2026 00:41:20 -0700 X-CSE-ConnectionGUID: ClL7FvL1TD6AyE5fn+P9ow== X-CSE-MsgGUID: Dqc9TSMoTwK+y4/AyLG5vg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,192,1770624000"; d="scan'208";a="229114723" Received: from nemesa.iind.intel.com ([10.190.239.22]) by fmviesa007.fm.intel.com with ESMTP; 22 Apr 2026 00:41:19 -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: Wed, 22 Apr 2026 13:07:22 +0530 Message-Id: <20260422073722.1861494-7-nemesa.garg@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20260422073722.1861494-1-nemesa.garg@intel.com> References: <20260422073722.1861494-1-nemesa.garg@intel.com> MIME-Version: 1.0 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" 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. Assisted-by: Claude:claude-sonnet-4.6 Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_cursor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_cursor.c b/drivers/gpu/drm/i915/display/intel_cursor.c index e03b27f05fc2..25bc3b95f4f1 100644 --- a/drivers/gpu/drm/i915/display/intel_cursor.c +++ b/drivers/gpu/drm/i915/display/intel_cursor.c @@ -886,8 +886,7 @@ intel_legacy_cursor_update(struct drm_plane *_plane, */ 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