diff options
| author | Dave Airlie <[email protected]> | 2020-05-08 05:02:49 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2020-05-08 05:04:25 +0000 |
| commit | a9fe6f18cde03c20facbf75dc910a372c1c1025b (patch) | |
| tree | 6c1477a1448c33d4c6043b11e32d5db92086166b /drivers/gpu/drm/virtio/virtgpu_gem.c | |
| parent | Merge tag 'amd-drm-fixes-5.7-2020-05-06' of git://people.freedesktop.org/~agd... (diff) | |
| parent | drm: Fix HDCP failures when SRM fw is missing (diff) | |
| download | kernel-a9fe6f18cde03c20facbf75dc910a372c1c1025b.tar.gz kernel-a9fe6f18cde03c20facbf75dc910a372c1c1025b.zip | |
Merge tag 'drm-misc-fixes-2020-05-07' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
A few minor fixes for an ordering issue in virtio, an (old) gcc warning
in sun4i, a probe issue in ingenic-drm and a regression in the HDCP
support.
Signed-off-by: Dave Airlie <[email protected]>
From: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_gem.c')
| -rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_gem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_gem.c b/drivers/gpu/drm/virtio/virtgpu_gem.c index 0d6152c99a27..f0d5a8974677 100644 --- a/drivers/gpu/drm/virtio/virtgpu_gem.c +++ b/drivers/gpu/drm/virtio/virtgpu_gem.c @@ -39,6 +39,9 @@ int virtio_gpu_gem_create(struct drm_file *file, int ret; u32 handle; + if (vgdev->has_virgl_3d) + virtio_gpu_create_context(dev, file); + ret = virtio_gpu_object_create(vgdev, params, &obj, NULL); if (ret < 0) return ret; |
