Displaying 4 results from an estimated 4 matches for "null_state".
2020 Apr 16
0
[PATCH v2 7/8] tools/virtio: Reset index in virtio_test --reset.
...>
> /* Unused */
> void *__kmalloc_fake, *__kfree_ignore_start, *__kfree_ignore_end;
> @@ -49,6 +48,7 @@ struct vdev_info {
>
> static const struct vhost_vring_file no_backend = { .fd = -1 },
> backend = { .fd = 1 };
> +static const struct vhost_vring_state null_state = {};
>
> bool vq_notify(struct virtqueue *vq)
> {
> @@ -174,14 +174,19 @@ static void run_test(struct vdev_info *dev, struct vq_info *vq,
> unsigned len;
> long long spurious = 0;
> const bool random_batch = batch == RANDOM_BATCH;
> +
> r = ioctl(dev->cont...
2020 Apr 17
0
[PATCH v2 7/8] tools/virtio: Reset index in virtio_test --reset.
...art, *__kfree_ignore_end;
> > > @@ -49,6 +48,7 @@ struct vdev_info {
> > >
> > > static const struct vhost_vring_file no_backend = { .fd = -1 },
> > > backend = { .fd = 1 };
> > > +static const struct vhost_vring_state null_state = {};
> > >
> > > bool vq_notify(struct virtqueue *vq)
> > > {
> > > @@ -174,14 +174,19 @@ static void run_test(struct vdev_info *dev, struct vq_info *vq,
> > > unsigned len;
> > > long long spurious = 0;
> > > const...
2020 Apr 02
0
[PATCH v4 7/7] tools/virtio: Make --reset reset ring idx
...0..bf21ece30594 100644
> --- a/tools/virtio/virtio_test.c
> +++ b/tools/virtio/virtio_test.c
> @@ -49,6 +49,7 @@ struct vdev_info {
>
> static const struct vhost_vring_file no_backend = { .fd = -1 },
> backend = { .fd = 1 };
> +static const struct vhost_vring_state null_state = {};
>
> bool vq_notify(struct virtqueue *vq)
> {
> @@ -218,10 +219,33 @@ static void run_test(struct vdev_info *dev, struct vq_info *vq,
> }
>
> if (reset) {
> + struct vhost_vring_state s = { .index = 0 };
> + int i;
> + vq->vring.avail->...
2015 Sep 11
0
[ANNOUNCE] intel-gpu-tools 1.12
...treamer
Ander Conselvan de Oliveira (2):
gem_storedw_loop: Skip test if device doesn't have requested ring
kms_addfb_basic: Require fb modifiers for unused field tests
Arun Siluvery (2):
lib/rendercopy_gen9: Setup Push constant pointer before sending
BTP commands
tools/null_state/gen9: Send atleast one valid component in VF state
Chris Wilson (41):
lib: Use HAS_GPU_RESET rather than opencode our guess
testdisplay_hotplug: Add missing #include <sys/stat.h>
igt: Add gem_eio for inducing expected EIO
igt: Add gem_exec_alignment
lib: Enable...