drm/i915: Evade transcoder's vblank when doing seamless M/N changes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 Apr 2023 17:54:30 +0000 (20:54 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 13 Apr 2023 18:02:30 +0000 (21:02 +0300)
commit435db526a68b6454a882eae7a3768c516d4b540e
tree06aeefb0aacc9b11134385cdf11a63aa7c2acd4e
parenta2da67028cd05516343533c1609fcaf037237fed
drm/i915: Evade transcoder's vblank when doing seamless M/N changes

The transcoder M/N values are double buffered on the transcoder's
undelayed vblank. So when doing seamless M/N fastsets we need to
evade also that.

Note that currently the pipe's delayed vblank == transcoder's
undelayed vblank, so this is still a nop change. But in the
future when we may have to delay the pipe's vblank to create
a register programming window ("window2") for the DSB.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230404175431.23064-2-ville.syrjala@linux.intel.com
Reviewed-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com
drivers/gpu/drm/i915/display/intel_crtc.c