]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/i915: Filter out no-op frontbuffer tracking flushes
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Jun 2015 08:30:21 +0000 (10:30 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Jun 2015 22:22:35 +0000 (00:22 +0200)
commit27e78a2a1f92e79707b4fb18cff1276088ef9178
tree4ec9c1ea225820e9dbacb27427305a8426ab7322
parentfdbff9282c0f5f61ffc87d57461b04d943250910
drm/i915: Filter out no-op frontbuffer tracking flushes

Paulo noticed that the fbc frontbuffer tracking flush callback
occasionally gets a call without any bit set. This can happen when we
have to filter flush calls due to e.g. gpu rendering. Filter these
out.

Reported-by: Paulo Zanoni <przanoni@gmail.com>
Cc: Paulo Zanoni <przanoni@gmail.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/intel_frontbuffer.c