virtio-gpu: drop use_virgl_renderer
commit49afbca3b00e8e517d54964229a794b51768deaf
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 30 Apr 2021 11:35:43 +0000 (30 13:35 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 10 May 2021 11:55:28 +0000 (10 13:55 +0200)
tree1acdf0a6e77f6d8f67f68ecfaac88422b152388a
parente349693a2838bbfe84b010d9ca1a964da69fcb13
virtio-gpu: drop use_virgl_renderer

Now that we have separated the gl and non-gl code flows to two different
devices there is little reason turn on and off virglrenderer usage at
runtime.  The gl code can simply use virglrenderer unconditionally.

So drop use_virgl_renderer field and just do that.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-13-kraxel@redhat.com>
hw/display/virtio-gpu-base.c
hw/display/virtio-gpu-gl.c
include/hw/virtio/virtio-gpu.h