mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
ui: remove console_has_gl_dmabuf()
This check is currently limited. It only is used by vhost-user-gpu (not by vfio-display), and will print an error repeatedly during run-time. We are going to dissociate the GL context from the DisplayChangeListener, and listeners may come and go. The following patches will address this differently. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20210204105232.834642-10-marcandre.lureau@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
227d8444bb
commit
2cc002483e
3 changed files with 0 additions and 11 deletions
|
@ -224,11 +224,6 @@ vhost_user_gpu_handle_display(VhostUserGPU *g, VhostUserGpuMsg *msg)
|
|||
close(dmabuf->fd);
|
||||
dmabuf->fd = -1;
|
||||
}
|
||||
if (!console_has_gl_dmabuf(con)) {
|
||||
/* it would be nice to report that error earlier */
|
||||
error_report("console doesn't support dmabuf!");
|
||||
break;
|
||||
}
|
||||
dpy_gl_release_dmabuf(con, dmabuf);
|
||||
if (fd == -1) {
|
||||
dpy_gl_scanout_disable(con);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue