Commit ff5b694e authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Kamal Ap
Browse files

UPSTREAM: drm/i915/dsb: Compute use_dsb earlier



Skip all the commit completion interrupt stuff on the
chained DSB when we don't take the full DSB path (ie. when
the plane/pipe programming is done via MMIO). The commit
completion will be done via the CPU side vblank interrupt.

Currently this is just a redundant interrupt, so not a big
deal. But in the future we'll be moving the TRANS_PUSH write
into the chained DSB as well, and that we definitely don't
want to do when it's also being done by the CPU from
intel_pipe_update_end().

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250207223159.14132-5-ville.syrjala@linux.intel.com


Reviewed-by: default avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
(cherry picked from commit c9178dfb)

Bug: 432032023
Test: None
Change-Id: I5c3348606a5b22e55de63ae969cf13651d600fd1
Signed-off-by: default avatarAp, Kamal <kamal.ap@intel.corp-partner.google.com>
parent c8685740
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment