]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Do vrr push before sampling the frame counter
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 20 Oct 2021 22:33:37 +0000 (01:33 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 9 Nov 2021 22:18:06 +0000 (00:18 +0200)
commitbd5c2744ba57860bd78f61a38b481e5afe4c9068
tree176332e7d1883e154d5d9dcd09126c31a46050d5
parent2356be786d1a4550ba3354ed66d5395d18ae085f
drm/i915: Do vrr push before sampling the frame counter

Do the vrr push before we sample the frame counter to
know when the commit has been latched. Doing these in the
wrong order could lead us to complete the flip before it
has actually happened.

Cc: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211020223339.669-3-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
drivers/gpu/drm/i915/display/intel_crtc.c