diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2025-02-18 23:18:55 +0200 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2025-03-10 11:42:27 -0400 |
commit | 6266f4a78131c795631440ea9c7b66cdfd399484 (patch) | |
tree | 89ca681d389fd24a25dd930c34fd86615aaedee6 /drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | |
parent | 80e54e84911a923c40d7bee33a34c1b4be148d7a (diff) |
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 fb64f5568c0e0b5730733d70a012ae26b1a55815)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c')
0 files changed, 0 insertions, 0 deletions