mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/i915: Use the proper (hw.crtc) for the cursor unpin vblank worker
uapi.crtc is NULL for joiner secondary pipes, so using that is nonsense in most places. Switch to hw.crtc so that we use the deferred cursor unpin also on joiner secondary pipes. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/20251119181606.17129-2-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -1408,7 +1408,7 @@ void intel_plane_init_cursor_vblank_work(struct intel_plane_state *old_plane_sta
|
||||
old_plane_state->ggtt_vma == new_plane_state->ggtt_vma)
|
||||
return;
|
||||
|
||||
drm_vblank_work_init(&old_plane_state->unpin_work, old_plane_state->uapi.crtc,
|
||||
drm_vblank_work_init(&old_plane_state->unpin_work, old_plane_state->hw.crtc,
|
||||
intel_cursor_unpin_work);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user