Revert "drm/qxl: drop prime import/export callbacks"
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 26 Apr 2019 05:33:24 +0000 (07:33 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Apr 2019 12:08:48 +0000 (14:08 +0200)
commitab042b824c11502bd39abfdfd4c7f285347d483a
treeb1d28e8bdcc9a1f315ecffbb7b0d1c90a0f9b184
parentc4cba44eeecab9d5ccd3dd2d5520a7d1e5be544f
Revert "drm/qxl: drop prime import/export callbacks"

This reverts commit f4c34b1e2a37d5676180901fa6ff188bcb6371f8.

Simliar to commit a0cecc23cfcb Revert "drm/virtio: drop prime
import/export callbacks".  We have to do the same with qxl,
for the same reasons (it breaks DRI3).

Drop the WARN_ON_ONCE().

Fixes: f4c34b1e2a37d5676 ("drm/qxl: drop prime import/export callbacks")
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190426053324.26443-1-kraxel@redhat.com
Acked-by: Daniel Vetter <daniel@ffwll.ch>
drivers/gpu/drm/qxl/qxl_drv.c
drivers/gpu/drm/qxl/qxl_prime.c