diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2020-04-07 06:05:42 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-04-17 13:05:29 +0300 |
commit | 5038a5679094ca21980b668f8d86b4dfb6ebbf0d (patch) | |
tree | b2e1013a695172092270c5d418afb4fc641e0b34 /drivers/gpu | |
parent | bf02bd9ae27af53025924502060983a92f97e929 (diff) | |
download | linux-5038a5679094ca21980b668f8d86b4dfb6ebbf0d.tar.xz |
drm/virtio: fix up for include file changes
virtgpu_kms now uses VIRTIO_RING_F_INDIRECT_DESC, so it must
include virtio_ring.h directly.
Fixes: 5edbb5608256 ("drm/virtio: fix ring free check")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20200407130542.0e3b5d9d@canb.auug.org.au
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_kms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_kms.c b/drivers/gpu/drm/virtio/virtgpu_kms.c index 023a030ca7b9..f4ea4cef5e23 100644 --- a/drivers/gpu/drm/virtio/virtgpu_kms.c +++ b/drivers/gpu/drm/virtio/virtgpu_kms.c @@ -25,6 +25,7 @@ #include <linux/virtio.h> #include <linux/virtio_config.h> +#include <linux/virtio_ring.h> #include <drm/drm_file.h> |