summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2019-04-24 10:52:20 +1000
committerDave Airlie <airlied@redhat.com>2019-04-24 10:52:52 +1000
commita0cecc23cfcbf2626497a8c8770856dd56b67917 (patch)
tree74e7055af31ad5ce1b45082cb6b1e80722b4f59b /block/blk-mq.h
parent9fa246256e09dc30820524401cdbeeaadee94025 (diff)
downloadlinux-a0cecc23cfcbf2626497a8c8770856dd56b67917.tar.bz2
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 b318e3ff7ca065d6b107e424c85a63d7a6798a69. [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: b318e3ff7ca065d6b107e424c85a63d7a6798a ("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>
Diffstat (limited to 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions