From: Nemesa Garg <nemesa.garg@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: Nemesa Garg <nemesa.garg@intel.com>,
Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Subject: [PATCH 5/5] drm/i915/cursor: Allow joiner cursor fast path update
Date: Tue, 1 Sep 2026 12:58:13 +0530 [thread overview]
Message-ID: <20260901072813.2596383-6-nemesa.garg@intel.com> (raw)
In-Reply-To: <20260901072813.2596383-1-nemesa.garg@intel.com>
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 <nemesa.garg@intel.com>
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
---
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 894bd1df5f42..cce041e1da51 100644
--- a/drivers/gpu/drm/i915/display/intel_cursor.c
+++ b/drivers/gpu/drm/i915/display/intel_cursor.c
@@ -914,13 +914,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
next prev parent reply other threads:[~2026-09-01 7:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-01 7:28 [PATCH 0/5] Enable joiner cursor fast updates Nemesa Garg
2026-09-01 7:28 ` [PATCH 1/5] drm/i915/cursor: Check joiner cursor commit status Nemesa Garg
2026-09-01 7:28 ` [PATCH 2/5] drm/i915/cursor: Add helper to update cursor plane Nemesa Garg
2026-09-01 7:28 ` [PATCH 3/5] drm/i915/cursor: Handle secondary cursor state Nemesa Garg
2026-09-01 7:28 ` [PATCH 4/5] drm/i915/cursor: Program secondary cursor planes Nemesa Garg
2026-09-01 7:28 ` Nemesa Garg [this message]
2026-09-01 7:39 ` ✓ CI.KUnit: success for Enable joiner cursor fast updates (rev8) Patchwork
2026-09-01 8:33 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-01 9:58 ` ✓ Xe.CI.FULL: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2026-08-27 16:41 [PATCH 0/5] Enable joiner cursor fast updates Nemesa Garg
2026-08-27 16:42 ` [PATCH 5/5] drm/i915/cursor: Allow joiner cursor fast path update Nemesa Garg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260901072813.2596383-6-nemesa.garg@intel.com \
--to=nemesa.garg@intel.com \
--cc=chaitanya.kumar.borah@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox