Re: [PATCH v3] drm/fence: allow fence waiting to be interrupted by userspace

2016-09-12 Thread Gustavo Padovan
Hi Sean, 2016-09-12 Sean Paul : > On Thu, Aug 25, 2016 at 12:47 PM, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > If userspace is running an synchronously atomic commit and interrupts the > > atomic operation during fence_wait() it will hang until the ti

[PATCH v4] drm/fence: allow fence waiting to be interrupted by userspace

2016-09-12 Thread Gustavo Padovan
From: Gustavo Padovan If userspace is running an synchronously atomic commit and interrupts the atomic operation during fence_wait() it will hang until the timer expires, so here we change the wait to be interruptible so it stop immediately when userspace wants to quit. Also adds the necessary

[PATCH v5 0/4] drm: add explicit fencing

2016-10-20 Thread Gustavo Padovan
From: Gustavo Padovan Hi, Currently the Linux Kernel only have an implicit fencing mechanism, through reservation objects, in which the fences are attached directly to buffers operations and userspace is unaware of what is happening. On the other hand explicit fencing exposes fences to the

[PATCH v5 4/4] drm/fence: add out-fences support

2016-10-20 Thread Gustavo Padovan
From: Gustavo Padovan Support DRM out-fences by creating a sync_file with a fence for each CRTC that sets the OUT_FENCE_PTR property. We use the out_fence pointer received in the OUT_FENCE_PTR prop to send the sync_file fd back to userspace. The sync_file and fd are allocated/created before

[PATCH v5 3/4] drm/fence: add fence timeline to drm_crtc

2016-10-20 Thread Gustavo Padovan
From: Gustavo Padovan Create one timeline context for each CRTC to be able to handle out-fences and signal them. It adds a few members to struct drm_crtc: fence_context, where we store the context we get from fence_context_alloc(), the fence seqno and the fence lock, that we pass in fence_init

[PATCH v5 1/4] drm/fence: add in-fences support

2016-10-20 Thread Gustavo Padovan
From: Gustavo Padovan There is now a new property called FENCE_FD attached to every plane state that receives the sync_file fd from userspace via the atomic commit IOCTL. The fd is then translated to a fence (that may be a fence_collection subclass or just a normal fence) and then used by DRM

[PATCH v5 2/4] drm/fence: release fence reference when canceling event

2016-10-20 Thread Gustavo Padovan
From: Gustavo Padovan If the event gets canceled we also need to put away the fence reference it holds. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/drm_fops.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c index e84faec

Re: [PATCH 2/2] drm/fence: allow fence waiting to be interrupted by userspace

2016-08-15 Thread Gustavo Padovan
2016-08-15 Maarten Lankhorst : > Op 11-08-16 om 20:39 schreef Gustavo Padovan: > > From: Gustavo Padovan > > > > If userspace is running an synchronously atomic commit and interrupts the > > atomic operation during fence_wait() it will hang until the timer expires, >

[PATCH v2 2/2] drm/fence: allow fence waiting to be interrupted by userspace

2016-08-15 Thread Gustavo Padovan
From: Gustavo Padovan If userspace is running an synchronously atomic commit and interrupts the atomic operation during fence_wait() it will hang until the timer expires, so here we change the wait to be interruptible so it stop immediately when userspace wants to quit. Also adds the necessary

[PATCH v2 1/2] drm/fence: enable drm_atomic_helper_wait_for_fences() to interrupt

2016-08-15 Thread Gustavo Padovan
From: Gustavo Padovan Add an extra arg to drm_atomic_helper_wait_for_fences() to inform if fence_wait() should be called interruptible or uninterruptible. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/drm_atomic_helper.c | 19 ++- drivers/gpu/drm/msm/msm_atomic.c| 2

Re: [PATCH] include/linux: fix excess fence.h kernel-doc notation

2016-08-15 Thread Gustavo Padovan
d_list' description in 'fence' > ..//include/linux/fence.h:85: warning: Excess struct/union/enum/typedef > member 'active_list' description in 'fence' > > Fixes: 0431b9065f28 ("staging/android: bring struct sync_pt back") > > Cc: Gusta

Re: [PATCH v3 4/5] staging/android: add Doc for SW_SYNC ioctl interface

2016-08-11 Thread Gustavo Padovan
2016-08-11 Eric Engestrom : > On Thu, Aug 11, 2016 at 12:26:43PM -0300, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > This interface is hidden from kernel headers and it is intended for use > > only for testing. So testers would have to add the ioctl infor

[PATCH] staging/android: add Doc for SW_SYNC ioctl interface

2016-08-11 Thread Gustavo Padovan
From: Gustavo Padovan This interface is hidden from kernel headers and it is intended for use only for testing. So testers would have to add the ioctl information internally. This is to prevent misuse of this feature. v2: take in Eric suggestions for the Documentation v3: really take in Eric

[PATCH 2/2] drm/fence: allow fence waiting to be interrupted by userspace

2016-08-11 Thread Gustavo Padovan
From: Gustavo Padovan If userspace is running an synchronously atomic commit and interrupts the atomic operation during fence_wait() it will hang until the timer expires, so here we change the wait to be interruptible so it stop immediately when userspace wants to quit. Also adds the necessary

[PATCH 1/2] drm/fence: enable drm_atomic_helper_wait_for_fences() to interrupt

2016-08-11 Thread Gustavo Padovan
From: Gustavo Padovan Add an extra arg to drm_atomic_helper_wait_for_fences() to inform if fence_wait() should be called interruptible or uninterruptible. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/drm_atomic_helper.c | 19 ++- drivers/gpu/drm/msm/msm_atomic.c| 2

Call for Participation: Automated Testing Summit 2025 @ OSS NA

2025-04-24 Thread Gustavo Padovan
The Automated Testing Summit (ATS) 2025 will be held as a co-located event at the Open Source Summit North America, and weโ€™re now accepting talk proposals! https://events.linuxfoundation.org/open-source-summit-north-america/features/co-located-events/#automated-testing-summit-2025 ๐Ÿ“… Date: June 2

Last week to submit your sessions to the Automated Testing Summit!

2025-05-13 Thread Gustavo Padovan
! โ€” The KernelCI Team -- Gustavo Padovan Collabora Ltd.

Automated Testing Summit - CFP extended until May 20th

2025-05-19 Thread Gustavo Padovan
Hello, We extended the CFP until tomorrow May 20, 2025, at 11:59 PM (MDT). If you didn't submit your session, it is the last chance now. Best, - Gus -- Gustavo Padovan Collabora Ltd. On Tue, 13 May 2025 13:54:25 -0300 Gustavo Padovan wrote --- > Hello, > > It is

<    4   5   6   7   8   9