]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/i915: don't call intel_fbc_update() at intel_unpin_work_fn()
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 14 Jul 2015 19:29:11 +0000 (16:29 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Aug 2015 08:00:16 +0000 (10:00 +0200)
commit698e84ed89ffa09c6f00148c72b058302c311b5d
tree3f69e0fc05e66bbe60792355c07cc8875c6dc73f
parent6f4551fe8e7f3561b97b7f74d8f4af08db01de6f
drm/i915: don't call intel_fbc_update() at intel_unpin_work_fn()

Because intel_unpin_work_fn() already calls
intel_frontbuffer_flip_complete() which will call intel_fbc_flush()
which will call intel_fbc_update() when needed.

We couldn't fix this previously due to the fact that FBC was not
properly behaving as intended on frontbuffer flushes, but now that
this is fixed, we can remove the additional call.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c