Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1517297
| From | Brian Starkey <brian.starkey@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7 3/3] drm/fence: add out-fences support |
| Date | 2016-11-08 16:40 +0100 |
| Message-ID | <sBgFc-2G7-37@gated-at.bofh.it> (permalink) |
| References | <sB8xX-5U7-7@gated-at.bofh.it> <sB8xY-5U7-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Nov 08, 2016 at 03:54:50PM +0900, Gustavo Padovan wrote:
>From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
>
>+static struct dma_fence *get_crtc_fence(struct drm_crtc *crtc,
>+ struct drm_crtc_state *crtc_state)
>+{
>+ struct dma_fence *fence;
>+
>+ fence = kzalloc(sizeof(*fence), GFP_KERNEL);
>+ if (!fence)
>+ return NULL;
>+
>+ dma_fence_init(fence, &drm_crtc_fence_ops, &crtc->fence_lock,
>+ crtc->fence_context, ++crtc->fence_seqno);
>+
>+ return fence;
>+}
>+
crtc_state is unused in this function.
-Brian
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v7 3/3] drm/fence: add out-fences support Gustavo Padovan <gustavo@padovan.org> - 2016-11-08 08:00 +0100
Re: [PATCH v7 3/3] drm/fence: add out-fences support Daniel Vetter <daniel@ffwll.ch> - 2016-11-08 14:20 +0100
Re: [PATCH v7 3/3] drm/fence: add out-fences support Gustavo Padovan <gustavo@padovan.org> - 2016-11-09 03:40 +0100
Re: [PATCH v7 3/3] drm/fence: add out-fences support Daniel Vetter <daniel@ffwll.ch> - 2016-11-09 11:20 +0100
Re: [PATCH v7 3/3] drm/fence: add out-fences support Brian Starkey <brian.starkey@arm.com> - 2016-11-08 16:40 +0100
csiph-web