]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Block enabling FBC until flips have been completed
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 25 Jun 2018 16:37:57 +0000 (18:37 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 29 Jun 2018 08:06:08 +0000 (10:06 +0200)
commitd105ec6bdaa7963a021083d512334146afb6f9b9
treec95c3bb982579244028cdcbfec14a6f114f6cf1c
parent30ef0ee3ce44d7d58982b1e5242ca87457e5229a
drm/i915: Block enabling FBC until flips have been completed

There is a small race window in which FBC can be enabled after
pre_plane_update is called, but before the page flip has been
queued or completed.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103167
Link: https://patchwork.freedesktop.org/patch/msgid/20180625163758.10871-1-maarten.lankhorst@linux.intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_fbc.c