diff options
author | Dave Airlie <airlied@redhat.com> | 2015-06-16 14:25:34 +1000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-06-16 11:22:40 +0200 |
commit | 441012aff674c8d2d9b371e1a19320de38eecc84 (patch) | |
tree | 90c56017b5fa4d915f199a942f61739d9fe16399 /drivers/gpu/drm/virtio/virtgpu_drv.h | |
parent | 50cb941a26b9311c39ba59567fcfad48f5eab4a3 (diff) | |
download | op-kernel-dev-441012aff674c8d2d9b371e1a19320de38eecc84.zip op-kernel-dev-441012aff674c8d2d9b371e1a19320de38eecc84.tar.gz |
drm/virtgpu: initialise fbdev after getting initial display info
This should avoid issues with the fbdev path trying to render
before we've gotten the display info.
Signed-off-by: Dave Airlie <airlied@redhat.com>
[ kraxel: wait for display-info reply ]
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_drv.h')
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h b/drivers/gpu/drm/virtio/virtgpu_drv.h index e5a2c09..ff8de3d 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.h +++ b/drivers/gpu/drm/virtio/virtgpu_drv.h @@ -171,6 +171,7 @@ struct virtio_gpu_device { wait_queue_head_t resp_wq; /* current display info */ spinlock_t display_info_lock; + bool display_info_pending; struct virtio_gpu_fence_driver fence_drv; |