diff options
| author | Nemesa Garg <nemesa.garg@intel.com> | 2026-09-01 12:58:09 +0530 |
|---|---|---|
| committer | Suraj Kandpal <suraj.kandpal@intel.com> | 2026-09-01 14:01:57 +0530 |
| commit | 13ab1c34d3908ffedfa2946b292d6df3feade36c (patch) | |
| tree | c5e713843cce19a5b51ed59998397ca51d8a611e /scripts/Makefile.thinlto | |
| parent | b37921c9f533ca936c5b5a484c1299680c570a7e (diff) | |
| download | linux-next-13ab1c34d3908ffedfa2946b292d6df3feade36c.tar.gz linux-next-13ab1c34d3908ffedfa2946b292d6df3feade36c.zip | |
drm/i915/cursor: Check joiner cursor commit status
In joiner mode, secondary cursor commits may still be running
even when the primary cursor commit is done. Walking the secondary
pipes also requires holding the secondary planes modeset locks.
Add intel_cursor_lock_joined_planes() to acquire modeset locks
for all secondary cursor planes. Check all joined cursor commit
status before taking the fast path. If any commit is still pending,
fallback to slow path.
v2: Use intel_crtc_joined_pipe_mask(). [Ville]
v3: Lock secondary cursor CRTCs and planes. [sashiko]
v4: Iterate the full joined mask uniformly in both helpers, no
primary special-case.
Move the parameter-change check above the lock acquisition so
we don't grab secondary locks just to fall to slow path. [Chaitanya]
v5: Remove extra header declaration. [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>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260901072813.2596383-2-nemesa.garg@intel.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
