CHROMIUM: drm/exynos: get/put the fb for every page flip
authorMandeep Singh Baines <msb@chromium.org>
Wed, 28 Nov 2012 23:38:19 +0000 (15:38 -0800)
committerGerrit <chrome-bot@google.com>
Fri, 30 Nov 2012 22:42:46 +0000 (14:42 -0800)
commit1b6c981e9562617d5bc6a7699b4c81328bf947de
tree1a69fcc3a9ebc87cb755161543f12d18dd760493
parentec00b317a7892fe630785561f3a548405f9921bd
CHROMIUM: drm/exynos: get/put the fb for every page flip

We had been using kds to prevent unmapping the fb while its
under scanout. But not all fbs are KDS-backed nor is it a
good idea to assume user-space is exporting all fbs.

BUG=chrome-os-partner:15349,chrome-os-partner:14965
TEST=Multiple VT switch, sign in/out.

Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Change-Id: I33958f65f961d328db75c32c5597edd5666fb708
Reviewed-on: https://gerrit.chromium.org/gerrit/38897
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
drivers/gpu/drm/exynos/exynos_drm_crtc.c
drivers/gpu/drm/exynos/exynos_drm_drv.h