Commit 6266f4a
drm/i915/cdclk: Do cdclk post plane programming later
We currently call intel_set_cdclk_post_plane_update() far
too early. When pipes are active during the reprogramming
the current spot only works for the cd2x divider update
case, as that is synchronize to the pipe's vblank. Squashing
and crawling are not synchronized in any way, so doing the
programming while the pipes/planes are potentially still using
the old hardware state could lead to underruns.
Move the post plane reprgramming to a spot where we know
that the pipes/planes have switched over the new hardware
state.
Cc: stable@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250218211913.27867-2-ville.syrjala@linux.intel.com
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
(cherry picked from commit fb64f55)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>1 parent 80e54e8 commit 6266f4a
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7830 | 7830 | | |
7831 | 7831 | | |
7832 | 7832 | | |
7833 | | - | |
7834 | | - | |
7835 | | - | |
7836 | 7833 | | |
7837 | 7834 | | |
7838 | 7835 | | |
| |||
7906 | 7903 | | |
7907 | 7904 | | |
7908 | 7905 | | |
| 7906 | + | |
| 7907 | + | |
7909 | 7908 | | |
7910 | 7909 | | |
7911 | 7910 | | |
| |||
0 commit comments