]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Wait for scanout to stop when sanitizing planes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 17 Feb 2021 16:20:50 +0000 (18:20 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 18 Feb 2021 16:14:13 +0000 (18:14 +0200)
commit8d3ca57fac788dbf3c4d22b98ee6d8c6728eb791
tree726bca39b3cba2c8f81ff08137b9d8b111f1c269
parent68e0f379ddd6f3b34b2e861aa67eb97d1543ee07
drm/i915: Wait for scanout to stop when sanitizing planes

When we sanitize planes let's wait for the scanout to stop
before we let the subsequent code tear down the ggtt mappings
and whatnot. Cures an underrun on my ivb when I boot with
VT-d enabled and the BIOS fb gets thrown out due to stolen
being considered unusable with VT-d active.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210217162050.13803-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/display/intel_display.c