[PATCH 0/2] virtgpu dummy events

Daniel Vetter daniel at ffwll.ch
Fri Nov 26 07:16:27 UTC 2021


On Mon, Nov 22, 2021 at 03:22:08PM -0800, Gurchetan Singh wrote:
> From: Gurchetan Singh <gurchetansingh at chromium.org>
> 
> There was a desire to not have a virtgpu-specific implementation of
> poll(..), but there wasn't any real event to return either.
> 
> Solution: Dummy event with just event code
> 
> Context:
> 
> https://lists.freedesktop.org/archives/dri-devel/2021-November/330950.html
> 
> Userspace:
> 
> crrev.com/c/3296610
> 
> This series applies to drm-misc-fixes.

On the series:

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>

I'm assuming someone from Google can push this to drm-misc-fixes for you?
-Daniel

> 
> Gurchetan Singh (2):
>   drm/virtgpu api: define a dummy fence signaled event
>   drm/virtio: use drm_poll(..) instead of virtio_gpu_poll(..)
> 
>  drivers/gpu/drm/virtio/virtgpu_drv.c   | 42 +-------------------------
>  drivers/gpu/drm/virtio/virtgpu_drv.h   |  1 -
>  drivers/gpu/drm/virtio/virtgpu_ioctl.c |  2 +-
>  include/uapi/drm/virtgpu_drm.h         |  7 +++++
>  4 files changed, 9 insertions(+), 43 deletions(-)
> 
> -- 
> 2.34.0.rc2.393.gf8c9666880-goog
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list