]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Suppress spurious underruns on gen2
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 29 Apr 2020 10:10:34 +0000 (13:10 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 30 Jun 2020 17:39:18 +0000 (20:39 +0300)
commit379abfc3bdcdecb0ab7988b6946ad6e8940101c8
treeadf6011d4e18e70aef50714a6720b6dbe6d50893
parentf50ec599d68e1af1e3256a22f61e7f9b26e9c16d
drm/i915: Suppress spurious underruns on gen2

Often we seem to detect an underrun right after modeset on gen2.
It seems to be a spurious detection (potentially the pipe is still
in a wonky state when we enable the planes). An extra vblank wait
seems to cure it.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200429101034.8208-13-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_display.c