drm/atomic: Reject FLIP_ASYNC unconditionally
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Sep 2019 19:06:41 +0000 (21:06 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Sep 2019 16:42:57 +0000 (18:42 +0200)
commitf2cbda2dba11de868759cae9c0d2bab5b8411406
tree6db0f32ecc3757c4625b3f5bf7bf91b888f254d8
parent26b1d3b527e7bf3e24b814d617866ac5199ce68d
drm/atomic: Reject FLIP_ASYNC unconditionally

It's never been wired up. Only userspace that tried to use it (and
didn't actually check whether anything works, but hey it builds) is
the -modesetting atomic implementation. And we just shut that up.

If there's anyone else then we need to silently accept this flag no
matter what, and find a new one. Because once a flag is tainted, it's
lost.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Michel Dänzer <michel@daenzer.net>
Cc: Alex Deucher <alexdeucher@gmail.com>
Cc: Adam Jackson <ajax@redhat.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190903190642.32588-2-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_atomic_uapi.c