diff options
| author | Nemesa Garg <nemesa.garg@intel.com> | 2026-09-01 12:58:12 +0530 |
|---|---|---|
| committer | Suraj Kandpal <suraj.kandpal@intel.com> | 2026-09-01 14:02:01 +0530 |
| commit | a991f3bbb7518d2a0d920eff685ae0d7036709cb (patch) | |
| tree | 69f9fd96c2c5a9ac5b5eccfa376be0444d7e2bd6 /scripts/Makefile.thinlto | |
| parent | 0ea1a71705cd674e9701571adac58a1ac0cc6e3b (diff) | |
| download | linux-next-a991f3bbb7518d2a0d920eff685ae0d7036709cb.tar.gz linux-next-a991f3bbb7518d2a0d920eff685ae0d7036709cb.zip | |
drm/i915/cursor: Program secondary cursor planes
Iterate over all joined pipes when arming/disabling the cursor plane so
secondary pipes are updated together with the primary. The pin, check
and state duplication for secondary pipes was already prepared in the
previous commit; this converts the update_arm pass to a loop over the
joined_pipe_state[] array.
Because the whole loop runs inside a single primary vblank-evade,
sample intel_crtc_get_vblank_counter() per pipe around each arm and
emit a drm_err() if the counter ticks during that pipe's own
programming.
v2: Check primary and secondary pipe together. [Ville]
v3: Use struct intel_cursor_joiner_state. [Ville]
v4: Add per-pipe vblank straddle detection around the arm loop. [Chaitanya]
v5: Move straddle check outside the loop to cover all pipes together.
Sample vblank counter from primary pipe only.
Move drm_err() after local_irq_enable(). [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-5-nemesa.garg@intel.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
