Files
linux/drivers
Dave Airlie 3a34c7001d BACKPORT: 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>
(cherry picked from commit a0cecc23cf)
Signed-off-by: Greg Hartman <ghartman@google.com>
BUG: 139386237
Change-Id: Ie752f363df21c597e55cb1204cf464e4b1fd4b4b
2019-08-19 11:29:54 -07:00
..
2019-08-04 09:37:11 +02:00
2019-08-16 11:27:10 +02:00
2019-08-16 11:27:10 +02:00
2019-08-16 11:27:10 +02:00
2019-05-14 19:17:53 +02:00
2019-08-16 11:27:10 +02:00
2019-07-26 10:31:53 +02:00
2019-08-06 20:08:18 +02:00
2019-08-16 11:27:10 +02:00
2019-08-16 11:27:10 +02:00
2019-06-09 09:27:18 +02:00
2019-02-12 20:37:21 +01:00
2019-07-26 09:14:05 +02:00
2019-08-11 15:21:36 +02:00
2019-06-15 16:12:59 +02:00
2019-08-16 11:27:10 +02:00
2019-08-04 09:30:55 +02:00
2019-05-31 06:46:14 -07:00