compositor-drm: Work around page flip not setting tiling mode on BYT
authorQuanxian Wang <quanxian.wang@intel.com>
Thu, 25 Sep 2014 02:04:11 +0000 (04:04 +0200)
committerBoram Park <boram1288.park@samsung.com>
Fri, 6 Nov 2015 02:47:14 +0000 (11:47 +0900)
commitf85d80e892eab8f6cf628c7abe4734ee8cb6ae66
tree55796a8bb904fb32cf6ce1396004711a91e74986
parentf00273e974436ec7364d8b60fa02972e7bb97875
compositor-drm: Work around page flip not setting tiling mode on BYT

The page flip ioctl() doesn't switch the tiling mode on BYT. That causes
cause display corruption when doing the renderer switch, since the dumb
buffer is untiled and the back buffers used by the GL renderer are use
X tiling.

Change-Id: I2f03ac44c1aa15e15b5a2a394932e94af2654124
Author: Quanxian Wang <quanxian.wang@intel.com>
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
src/compositor-drm.c