linux/drivers/gpu/drm/virtio
Dave Airlie a0cecc23cf Revert "drm/virtio: drop prime import/export callbacks"
This patch does more harm than good, as it breaks both Xwayland and
gnome-shell with X11.

Xwayland requires DRI3 & DRI3 requires PRIME.

X11 crash for obscure double-free reason which are hard to debug
(starting X11 by hand doesn't trigger the crash).

I don't see an apparent problem implementing those stub prime
functions, they may return an error at run-time, and it seems to be
handled fine by GNOME at least.

This reverts commit b318e3ff7c.
[airlied:
This broke userspace for virtio-gpus, and regressed things from DRI3 to DRI2.

This brings back the original problem, but it's better than regressions.]

Fixes: b318e3ff7c ("drm/virtio: drop prime import/export callbacks")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2019-04-24 10:52:52 +10:00
..
Kconfig
Makefile drm/virtio: Drop deprecated load/unload initialization 2019-01-09 09:38:49 +01:00
virtgpu_debugfs.c drm/virtio: fix include notation and remove -Iinclude/drm flag 2017-05-18 07:12:31 +02:00
virtgpu_display.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
virtgpu_drv.c Revert "drm/virtio: drop prime import/export callbacks" 2019-04-24 10:52:52 +10:00
virtgpu_drv.h Revert "drm/virtio: drop prime import/export callbacks" 2019-04-24 10:52:52 +10:00
virtgpu_fb.c drm/virtio: switch to generic fbdev emulation 2018-12-14 09:40:27 +01:00
virtgpu_fence.c drm/virtio: drop virtio_gpu_fence_cleanup() 2019-01-08 12:00:01 +01:00
virtgpu_gem.c drm/virtio: fix resource id handling 2018-10-29 22:50:55 +01:00
virtgpu_ioctl.c drm/virtio: drop virtio_gpu_fence_cleanup() 2019-01-08 12:00:01 +01:00
virtgpu_kms.c drm/virtio: Drop deprecated load/unload initialization 2019-01-09 09:38:49 +01:00
virtgpu_object.c drm/virtio: do NOT reuse resource ids 2019-02-11 14:44:10 +10:00
virtgpu_plane.c drm/virtio: drop virtio_gpu_fence_cleanup() 2019-01-08 12:00:01 +01:00
virtgpu_prime.c Revert "drm/virtio: drop prime import/export callbacks" 2019-04-24 10:52:52 +10:00
virtgpu_ttm.c Merge branch 'drm-next-4.21' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-11-19 11:07:52 +10:00
virtgpu_vq.c drm/virtio: log error responses 2019-01-08 11:59:59 +01:00