Re: [PATCH] drm/virtio: Fix same-context optimization

2022-08-25 Thread Gerd Hoffmann
On Fri, Aug 12, 2022 at 03:40:00PM -0700, Rob Clark wrote: > From: Rob Clark > > When VIRTGPU_EXECBUF_RING_IDX is used, we should be considering the > timeline that the EB if running on rather than the global driver fence > context. > > Fixes: 85c83ea915ed ("drm/virtio: implement context init:

[PATCH] drm/virtio: Fix same-context optimization

2022-08-12 Thread Rob Clark
From: Rob Clark When VIRTGPU_EXECBUF_RING_IDX is used, we should be considering the timeline that the EB if running on rather than the global driver fence context. Fixes: 85c83ea915ed ("drm/virtio: implement context init: allocate an array of fence contexts") Signed-off-by: Rob Clark ---