]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/atomic: Reject FLIP_ASYNC unconditionally
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Sep 2019 19:06:41 +0000 (21:06 +0200)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:26:35 +0000 (04:26 -0400)
commitc77c8ddadc58d4001b6ded4def4a8662ceb4a05d
tree8c0538a8c834e497d837231951177b7db643ed66
parentdde2cb39e4dece222c266dc6264da50bfb116009
drm/atomic: Reject FLIP_ASYNC unconditionally

BugLink: https://bugs.launchpad.net/bugs/1848039
commit f2cbda2dba11de868759cae9c0d2bab5b8411406 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/gpu/drm/drm_atomic_uapi.c