Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623631 > unrolled thread

Re: [PATCH 2/6] drm: writeback: Add out-fences for writeback connectors

Started byBoris Brezillon <boris.brezillon@free-electrons.com>
First post2017-04-14 12:20 +0200
Last post2017-04-18 19:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/6] drm: writeback: Add out-fences for writeback  connectors Boris Brezillon <boris.brezillon@free-electrons.com> - 2017-04-14 12:20 +0200
    Re: [PATCH 2/6] drm: writeback: Add out-fences for writeback  connectors Brian Starkey <brian.starkey@arm.com> - 2017-04-18 19:40 +0200

#1623631 — Re: [PATCH 2/6] drm: writeback: Add out-fences for writeback connectors

FromBoris Brezillon <boris.brezillon@free-electrons.com>
Date2017-04-14 12:20 +0200
SubjectRe: [PATCH 2/6] drm: writeback: Add out-fences for writeback connectors
Message-ID<tw6uB-8j4-1@gated-at.bofh.it>
On Fri, 25 Nov 2016 16:49:00 +0000
Brian Starkey <brian.starkey@arm.com> wrote:

> Add the OUT_FENCE_PTR property to writeback connectors, to enable
> userspace to get a fence which will signal once the writeback is
> complete. It is not allowed to request an out-fence without a
> framebuffer attached to the connector.
> 
> A timeline is added to drm_writeback_connector for use by the writeback
> out-fences.
> 
> In the case of a commit failure or DRM_MODE_ATOMIC_TEST_ONLY, the fence
> is set to -1.
> 
> Changes from v2:
>  - Rebase onto Gustavo Padovan's v9 explicit sync series
>  - Change out_fence_ptr type to s32 __user *

Don't know what happened, but I still see s32 __user * types in this
patch (I had to patch it to make in work on top of 4.11-rc1).

[toc] | [next] | [standalone]


#1625493

FromBrian Starkey <brian.starkey@arm.com>
Date2017-04-18 19:40 +0200
Message-ID<txFgC-un-11@gated-at.bofh.it>
In reply to#1623631
On Fri, Apr 14, 2017 at 12:11:14PM +0200, Boris Brezillon wrote:
>On Fri, 25 Nov 2016 16:49:00 +0000
>Brian Starkey <brian.starkey@arm.com> wrote:
>
>> Add the OUT_FENCE_PTR property to writeback connectors, to enable
>> userspace to get a fence which will signal once the writeback is
>> complete. It is not allowed to request an out-fence without a
>> framebuffer attached to the connector.
>>
>> A timeline is added to drm_writeback_connector for use by the writeback
>> out-fences.
>>
>> In the case of a commit failure or DRM_MODE_ATOMIC_TEST_ONLY, the fence
>> is set to -1.
>>
>> Changes from v2:
>>  - Rebase onto Gustavo Padovan's v9 explicit sync series
>>  - Change out_fence_ptr type to s32 __user *
>
>Don't know what happened, but I still see s32 __user * types in this
>patch (I had to patch it to make in work on top of 4.11-rc1).

Yeah this really confused me too when rebasing. Given that this patch
predates Gustavo's change to s32 I can only assume I typo'd and meant
s64 in this commit message.

-Brian

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web