[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] virtio-gpu: cursor update not in sync with resource upd
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] virtio-gpu: cursor update not in sync with resource update |
Date: |
Mon, 14 Sep 2015 23:14:52 +0200 |
Hi
On Mon, Sep 14, 2015 at 11:08 PM, Dave Airlie <address@hidden> wrote:
> Currently the kernel driver does this:
>
> ret = virtio_gpu_cmd_transfer_to_host_2d(vgdev, qobj->hw_res_handle,
> 0,
> cpu_to_le32(64),
> cpu_to_le32(64),
> 0, 0, &fence);
> if (!ret) {
> reservation_object_add_excl_fence(qobj->tbo.resv,
> &fence->f);
> virtio_gpu_object_wait(qobj, false);
> }
>
> before moving the cursor, shouldn't that suffice?
>
> Do we fail the transfer sometimes?
That's apparently not in Gerd tree.
--
Marc-André Lureau