]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71e2b3342c6f0e1d41b0b8128c5ebaf831aeec34
treeb1d28e8bdcc9a1f315ecffbb7b0d1c90a0f9b184
parent2d1eab55bf30e8c6ceceb1e4af71a13890094a35
Revert "drm/qxl: drop prime import/export callbacks"

This reverts commit c0a1fb15a5776d948cc60a1f800069ac3a89797b.

Simliar to commit 5af6288344a2 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: c0a1fb15a5776d948 ("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