egl: Allow software rendering for vgem/virtio_gpu in platform_device
authorLepton Wu <lepton@chromium.org>
Thu, 9 Jul 2020 18:49:33 +0000 (11:49 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sat, 1 Aug 2020 10:07:25 +0000 (10:07 +0000)
commit81c0e2ab63d7ee823d9a096019243797f071410b
treed9c1352171335acfeb4d9a8cb6805d1482b55fb2
parenteaf27eb512c5ffdedf8106e006448c5aabdfe447
egl: Allow software rendering for vgem/virtio_gpu in platform_device

Then user could explicitly choose the underlying device for software
rendering when both vgem/virtio_vga are there.

Signed-off-by: Lepton Wu <lepton@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5830>
src/egl/drivers/dri2/platform_device.c