drm/plane-helper: Adapt cursor hack to transitional helpers
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 May 2015 08:36:32 +0000 (10:36 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 22 May 2015 05:48:08 +0000 (08:48 +0300)
commit2e7f43c41c042d6fed4d67aceeaae32d8f102e98
treec90629e82e038486eadda6b1f2cdc293fb24b0f0
parent030bbdbf4c833bc69f502eae58498bc5572db736
drm/plane-helper: Adapt cursor hack to transitional helpers

In

commit f02ad907cd9e7fe3a6405d2d005840912f1ed258
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Jan 22 16:36:23 2015 +0100

    drm/atomic-helpers: Recover full cursor plane behaviour

we've added a hack to atomic helpers to never to vblank waits for
cursor updates through the legacy apis since that's what X expects.
Unfortunately we've (again) forgotten to adjust the transitional
helpers. Do this now.

This fixes regressions for drivers only partially converted over to
atomic (like i915).

Reported-by: Pekka Paalanen <ppaalanen@gmail.com>
Cc: Pekka Paalanen <ppaalanen@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-and-tested-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/drm_plane_helper.c