* [PATCH 11/15] drm/qxl: Remove unecessary dma_fence_ops [not found] <20180503142603.28513-1-daniel.vetter@ffwll.ch> @ 2018-05-03 14:25 ` Daniel Vetter 2018-05-03 14:26 ` [PATCH 14/15] drm/virtio: " Daniel Vetter 1 sibling, 0 replies; 3+ messages in thread From: Daniel Vetter @ 2018-05-03 14:25 UTC (permalink / raw) To: DRI Development Cc: Daniel Vetter, Intel Graphics Development, virtualization, Eric Anholt, Dave Airlie The trivial enable_signaling implementation matches the default code. v2: Fix up commit message to match patch better (Eric). Cc: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Dave Airlie <airlied@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: virtualization@lists.linux-foundation.org --- drivers/gpu/drm/qxl/qxl_release.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.c index 7cb214577275..e37f0097f744 100644 --- a/drivers/gpu/drm/qxl/qxl_release.c +++ b/drivers/gpu/drm/qxl/qxl_release.c @@ -50,12 +50,6 @@ static const char *qxl_get_timeline_name(struct dma_fence *fence) return "release"; } -static bool qxl_nop_signaling(struct dma_fence *fence) -{ - /* fences are always automatically signaled, so just pretend we did this.. */ - return true; -} - static long qxl_fence_wait(struct dma_fence *fence, bool intr, signed long timeout) { @@ -119,7 +113,6 @@ static long qxl_fence_wait(struct dma_fence *fence, bool intr, static const struct dma_fence_ops qxl_fence_ops = { .get_driver_name = qxl_get_driver_name, .get_timeline_name = qxl_get_timeline_name, - .enable_signaling = qxl_nop_signaling, .wait = qxl_fence_wait, }; -- 2.17.0 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 14/15] drm/virtio: Remove unecessary dma_fence_ops [not found] <20180503142603.28513-1-daniel.vetter@ffwll.ch> 2018-05-03 14:25 ` [PATCH 11/15] drm/qxl: Remove unecessary dma_fence_ops Daniel Vetter @ 2018-05-03 14:26 ` Daniel Vetter 2018-07-03 11:14 ` Daniel Vetter 1 sibling, 1 reply; 3+ messages in thread From: Daniel Vetter @ 2018-05-03 14:26 UTC (permalink / raw) To: DRI Development Cc: David Airlie, Daniel Vetter, Intel Graphics Development, virtualization dma_fence_default_wait is the default now, same for the trivial enable_signaling implementation. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: David Airlie <airlied@linux.ie> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: virtualization@lists.linux-foundation.org --- drivers/gpu/drm/virtio/virtgpu_fence.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_fence.c b/drivers/gpu/drm/virtio/virtgpu_fence.c index 23353521f903..00c742a441bf 100644 --- a/drivers/gpu/drm/virtio/virtgpu_fence.c +++ b/drivers/gpu/drm/virtio/virtgpu_fence.c @@ -36,11 +36,6 @@ static const char *virtio_get_timeline_name(struct dma_fence *f) return "controlq"; } -static bool virtio_enable_signaling(struct dma_fence *f) -{ - return true; -} - static bool virtio_signaled(struct dma_fence *f) { struct virtio_gpu_fence *fence = to_virtio_fence(f); @@ -67,9 +62,7 @@ static void virtio_timeline_value_str(struct dma_fence *f, char *str, int size) static const struct dma_fence_ops virtio_fence_ops = { .get_driver_name = virtio_get_driver_name, .get_timeline_name = virtio_get_timeline_name, - .enable_signaling = virtio_enable_signaling, .signaled = virtio_signaled, - .wait = dma_fence_default_wait, .fence_value_str = virtio_fence_value_str, .timeline_value_str = virtio_timeline_value_str, }; -- 2.17.0 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 14/15] drm/virtio: Remove unecessary dma_fence_ops 2018-05-03 14:26 ` [PATCH 14/15] drm/virtio: " Daniel Vetter @ 2018-07-03 11:14 ` Daniel Vetter 0 siblings, 0 replies; 3+ messages in thread From: Daniel Vetter @ 2018-07-03 11:14 UTC (permalink / raw) To: DRI Development Cc: David Airlie, Daniel Vetter, Intel Graphics Development, virtualization On Thu, May 03, 2018 at 04:26:02PM +0200, Daniel Vetter wrote: > dma_fence_default_wait is the default now, same for the trivial > enable_signaling implementation. > > Reviewed-by: Eric Anholt <eric@anholt.net> > Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> > Cc: David Airlie <airlied@linux.ie> > Cc: Gerd Hoffmann <kraxel@redhat.com> > Cc: virtualization@lists.linux-foundation.org Ok pulled in the remaining patches here with acks/r-bs, will resend the others. -Daniel > --- > drivers/gpu/drm/virtio/virtgpu_fence.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/drivers/gpu/drm/virtio/virtgpu_fence.c b/drivers/gpu/drm/virtio/virtgpu_fence.c > index 23353521f903..00c742a441bf 100644 > --- a/drivers/gpu/drm/virtio/virtgpu_fence.c > +++ b/drivers/gpu/drm/virtio/virtgpu_fence.c > @@ -36,11 +36,6 @@ static const char *virtio_get_timeline_name(struct dma_fence *f) > return "controlq"; > } > > -static bool virtio_enable_signaling(struct dma_fence *f) > -{ > - return true; > -} > - > static bool virtio_signaled(struct dma_fence *f) > { > struct virtio_gpu_fence *fence = to_virtio_fence(f); > @@ -67,9 +62,7 @@ static void virtio_timeline_value_str(struct dma_fence *f, char *str, int size) > static const struct dma_fence_ops virtio_fence_ops = { > .get_driver_name = virtio_get_driver_name, > .get_timeline_name = virtio_get_timeline_name, > - .enable_signaling = virtio_enable_signaling, > .signaled = virtio_signaled, > - .wait = dma_fence_default_wait, > .fence_value_str = virtio_fence_value_str, > .timeline_value_str = virtio_timeline_value_str, > }; > -- > 2.17.0 > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-03 11:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20180503142603.28513-1-daniel.vetter@ffwll.ch>
2018-05-03 14:25 ` [PATCH 11/15] drm/qxl: Remove unecessary dma_fence_ops Daniel Vetter
2018-05-03 14:26 ` [PATCH 14/15] drm/virtio: " Daniel Vetter
2018-07-03 11:14 ` Daniel Vetter
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox