drm/msm/mdp5: rip out plane->pending tracking
authorRob Clark <robdclark@gmail.com>
Wed, 11 Jan 2017 15:16:12 +0000 (10:16 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 13 Jan 2017 15:21:46 +0000 (10:21 -0500)
commitc57a94ffd0105d58ab104fe383148c5eda5aa033
treedb8b80ec8de0a1a3e56f71fd886ac8f8898d7958
parent9afe69d5a9495f8b023017e4c328fa717e00f092
drm/msm/mdp5: rip out plane->pending tracking

It would race between userspace thread and commit worker.  Ie. vblank
irq would trigger event and userspace could begin the next atomic
update, before the commit worker had a chance to clear the pending
flag.

If we do end up needing something to prevent userspace from trying
another pageflip before getting vblank event, it should probably be
implemented as a pending_planes bitmask, similar to pending_crtcs.  See
start_atomic() and end_atomic().

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c