Re: [Intel-gfx] [PATCH 3/3] drm/vgem: Attach sw fences to exported vGEM dma-buf (ioctl)

2016-07-11 Thread Gustavo Padovan
ware drivers. > > Testcase: igt/vgem_basic/dmabuf-fence > Signed-off-by: Chris Wilson > Cc: Sean Paul > Cc: Zach Reizner > Cc: Gustavo Padovan > Acked-by: Zach Reizner > --- > drivers/gpu/drm/vgem/Makefile | 2 +- > drivers/gpu/drm/vgem/vgem_drv.c

Re: [Intel-gfx] [PATCH v2] drm/vgem: Attach sw fences to exported vGEM dma-buf (ioctl)

2016-07-13 Thread Gustavo Padovan
are drivers. > > v2: Don't pretend the fences exist in an ordered timeline, but allocate > a separate fence-context for each fence so that the fences are > unordered. > > Testcase: igt/vgem_basic/dmabuf-fence > Signed-off-by: Chris Wilson > Cc: Sean Paul > Cc: Zach R

Re: [Intel-gfx] [PATCH] MAINTAINERS: Remove Jani as drm-misc co-maintainer

2017-11-29 Thread Gustavo Padovan
a nice team of three who are > > actually doing the drm-misc work, while I focus on drm-intel. > > > > Cc: Daniel Vetter > > Cc: Gustavo Padovan > > Cc: Sean Paul > > Cc: Dave Airlie > > Signed-off-by: Jani Nikula > > > > :( > > Relu

[Intel-gfx] [PULL] drm-misc-next for 4.16

2017-11-30 Thread Gustavo Padovan
Hi Dave, Here goes my first pull request as drm-misc co-maintainer, outstanding here is the plane clipping fixes from Ville and the work to reduce bdev emulation footprint in drivers from Noralf. Otherwise it is more of the same. No UAPI changes. drm-misc-next-2017-11-30 for 4.16: Cross-subsyste

Re: [Intel-gfx] [PULL] drm-misc-next for 4.16

2017-11-30 Thread Gustavo Padovan
Forgot to setup gpg sign... 2017-11-30 Gustavo Padovan : > Hi Dave, > > Here goes my first pull request as drm-misc co-maintainer, outstanding > here is the plane clipping fixes from Ville and the work to reduce > bdev emulation footprint in drivers from Noralf. Otherwise it i

[Intel-gfx] [PULL] drm-misc-next

2017-12-07 Thread Gustavo Padovan
ls drm/tinydrm: export mipi_dbi_buf_copy and mipi_dbi_spi_cmd_max_speed drm/tinydrm: add driver for ILI9225 panels Gustavo A. R. Silva (1): drm/fb-helper: Fix potential NULL pointer dereference Gustavo Padovan (1): Merge arlied/drm-next into drm-misc-next Hans de Goede

[Intel-gfx] [PULL] drm-misc-next

2017-12-14 Thread Gustavo Padovan
Hi Dave, More of the same. A lot of improvements from Noralf on this one. Nothing really big here. Regards, Gustavo drm-misc-next-2017-12-14: drm-misc-next for 4.16: Cross-subsystem Changes: - Documentation for amlogic dt dt-bindings Core Changes: - Update edid-derived drm_display_info fi

[Intel-gfx] [PULL] drm-misc-next

2017-12-21 Thread Gustavo Padovan
Hi Dave, Flushing out drm-misc-next before the holidays. Docs and fbdev work here. We will skip a pull request next week, back in 2018! Regards, Gustavo drm-misc-next-2017-12-21: drm-misc-next for 4.16: Core Changes: - mostly doc updates and some fbdev improvements The following changes since

[Intel-gfx] [PULL] drm-misc-next

2018-01-08 Thread Gustavo Padovan
Hi Dave, This is a late pull request for 4.16. It our final one. Due to holidays we failed to send it before. In terms of features nothing really big/important apart from the addition of the Ilitek ILI9322 panel driver, that have been tested at linux-next for more than two weeks. The changes comm

Re: [Intel-gfx] [PATCH] drm: Document code of conduct

2017-04-11 Thread Gustavo Padovan
and/wayland/commit/?id=0eefe99fe0683ae409b665a8b18cc7eb648c6c0c > > Cc: Daniel Stone > Cc: Keith Packard > Cc: tfh...@err.no > Signed-off-by: Daniel Vetter > --- > Documentation/gpu/introduction.rst | 11 +++ > 1 file changed, 11 insertions(+) That is a great

Re: [Intel-gfx] [PATCH] dma-buf/sync-file: Defer creation of sync_file->name

2017-05-12 Thread Gustavo Padovan
ath (that of creating sync_file to pass around), defer the construction > of the name until it is first used. > > Signed-off-by: Chris Wilson > Cc: Sumit Semwal > Cc: Gustavo Padovan > --- > drivers/dma-buf/sync_file.c | 18 +++--- > include/linux/sync_fil

[Intel-gfx] [PULL] drm-misc-next

2018-06-27 Thread Gustavo Padovan
Hi Dave, One more for 4.19. We don't have any big change on this one, it is mostly drivers updates here. Please pull. Regards, Gustavo drm-misc-next-2018-06-27: drm-misc-next for 4.19: Cross-subsystem Changes: devicetree documentation dt-bindings defintions for sun8i (Jernej Skrabec) Core Cha

[Intel-gfx] [PULL] drm-misc-next

2018-07-04 Thread Gustavo Padovan
fier and clarify license drm/vmwgfx: add SPDX idenitifier and clarify license Eric Anholt (2): drm/v3d: Define the fourcc modifier for the Broadcom UIF format. drm/vc4: Make DSI call into the bridge after the DSI link is enabled. Gustavo Padovan (2): Merge tag 'ib-fbd

[Intel-gfx] [PULL] drm-misc-next

2018-07-11 Thread Gustavo Padovan
missing v3d documentation structure. drm/v3d: Fix a grammar nit in the scheduler docs. Gustavo Padovan (1): Merge drm-upstream/drm-next into drm-misc-next Haneen Mohammed (1): drm/vkms: Introduce basic VKMS driver Jagan Teki (1): drm/panel: simple: Add support for Rocktech

[Intel-gfx] [PULL] drm-misc-next

2018-07-18 Thread Gustavo Padovan
Hi Dave, Another round for 4.19. Fixes the build issue for sun4i. Many fixes and improvements, most interesting thing is probably the DisplayPort CEC-Tunneling-over-AUX support. Please pull, thanks. drm-misc-next-2018-07-18: drm-misc-next for 4.19: Core Changes: - add support for DisplayPort CEC

[Intel-gfx] [PULL] drm-misc-next-fixes

2018-08-02 Thread Gustavo Padovan
Hi Dave, Two fixes for 4.19 here. For an oops on the DP CEC code and a memory leak on the vkms driver. Please pull. Regards, Gustavo drm-misc-next-fixes-2018-08-02: Fixes an oops on the DP CEC code and a memory leak on the vkms driver. The following changes since commit 6d52aacd92c60331ec8c3117

[Intel-gfx] [PULL] drm-misc-fixes

2018-03-22 Thread Gustavo Padovan
Hi Dave, A few fixes for 4.16. Main thing here is getting getfb to reject multiplanar fbs. I should have sent some of these before but conference and traveling got in the way. Thanks, Gustavo drm-misc-fixes-2018-03-22: Main change is a patch to reject getfb call for multiplanar framebuffers, th

[Intel-gfx] [PULL] drm-misc-next

2018-06-20 Thread Gustavo Padovan
c Dave Stevenson (1): drm/vc4: Add support for SAND modifier. Eric Anholt (2): drm: Trust format_mod_supported() when it OKs a plane modifier. drm/vc4: Add missing formats to vc4_format_mod_supported(). Gerd Hoffmann (1): dma-buf: make map_atomic and map function pointers

[Intel-gfx] [PULL] drm-misc-next

2018-06-21 Thread Gustavo Padovan
g formats to vc4_format_mod_supported(). Gerd Hoffmann (1): dma-buf: make map_atomic and map function pointers optional Gustavo Padovan (1): Merge drm-upstream/drm-next into drm-misc-next Haneen Mohammed (1): drm: Add checks for atomic_[duplicate/destroy]_state with atomic drivers H

[Intel-gfx] [PATCH i-g-t 2/2] lib/drmtest: add virtio_gpu support

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Support the virtio GPU on drmtest. Signed-off-by: Gustavo Padovan --- lib/drmtest.c | 9 + lib/drmtest.h | 1 + 2 files changed, 10 insertions(+) diff --git a/lib/drmtest.c b/lib/drmtest.c index 9f3ac7f..b374006 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c

[Intel-gfx] [PATCH 02/12] tests/kms_atomic_transition: don't assume max pipes

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Signed-off-by: Gustavo Padovan --- tests/kms_atomic_transition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c index e693c88..8b26b53 100644 --- a/tests/kms_atomic_transition.c +++ b/tests

[Intel-gfx] [PATCH i-g-t 1/2] lib/drmtest: Fix igt_skip message

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Now other gpus are supported too. Signed-off-by: Gustavo Padovan --- lib/drmtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/drmtest.c b/lib/drmtest.c index 884fe7c..9f3ac7f 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -263,7 +263,7

[Intel-gfx] [PATCH 03/12] lib/igt_kms: move igt_kms_get_alt_edid() to the right place

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Signed-off-by: Gustavo Padovan --- lib/igt_kms.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 989704e..aa9fd16 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -153,23 +153,6

[Intel-gfx] [PATCH 00/12] kms tests for the DRM fences interfaces

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Hi, That is the first version of the igt tests for DRM fences[1]. The first four patches are just fix/improvements on the kms_atomic infrastructure. These patches depends on Robert Foss tests for sw_sync and a branch with those tests included can be seen here: https

[Intel-gfx] [PATCH 01/12] tests/kms_atomic_transition: use select + read instead of blocking read

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan If the event never arrives we can timeout with select and end the test. Signed-off-by: Gustavo Padovan --- tests/kms_atomic_transition.c | 8 1 file changed, 8 insertions(+) diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c index

[Intel-gfx] [PATCH 05/12] tests/kms_atomic: use global atomic properties definitions

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Signed-off-by: Gustavo Padovan --- tests/kms_atomic.c | 123 - 1 file changed, 37 insertions(+), 86 deletions(-) diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c index 1441fdf..8b648eb 100644 --- a/tests

[Intel-gfx] [PATCH 04/12] lib/igt_kms: export properties names

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Signed-off-by: Gustavo Padovan --- lib/igt_kms.c | 6 +++--- lib/igt_kms.h | 5 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/igt_kms.c b/lib/igt_kms.c index aa9fd16..8aaff5b 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -153,7 +153,7

[Intel-gfx] [PATCH 07/12] lib/igt_kms: Add support for the OUT_FENCE_PTR property

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Add support for the OUT_FENCE_PTR property to enable setting out fences for atomic commits. Signed-off-by: Gustavo Padovan --- lib/igt_kms.c | 20 +++- lib/igt_kms.h | 3 +++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/lib/igt_kms.c b

[Intel-gfx] [PATCH 11/12] tests/kms_atomic_transition: add in_fences tests

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Signed-off-by: Gustavo Padovan --- tests/kms_atomic_transition.c | 92 ++- 1 file changed, 82 insertions(+), 10 deletions(-) diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c index 507f526..54fc9da 100644

[Intel-gfx] [PATCH 09/12] tests/kms_atomic_transition: add fencing parameter to run_transition_tests

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Signed-off-by: Gustavo Padovan --- tests/kms_atomic_transition.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c index 8b26b53..8bef85d 100644 --- a/tests/kms_atomic_transition.c

[Intel-gfx] [PATCH 06/12] lib/igt_kms: Add support for the IN_FENCE_FD property

2016-11-14 Thread Gustavo Padovan
From: Robert Foss Add support dor the IN_FENCE_FD property to enable setting in fences for atomic commits. Signed-off-by: Robert Foss --- lib/igt_kms.c | 20 lib/igt_kms.h | 5 + 2 files changed, 25 insertions(+) diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 8aaff

[Intel-gfx] [PATCH 08/12] tests/kms_atomic: stress possible fence settings

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Signed-off-by: Gustavo Padovan --- tests/kms_atomic.c | 124 + 1 file changed, 115 insertions(+), 9 deletions(-) diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c index 8b648eb..58fc0dd 100644 --- a/tests

[Intel-gfx] [PATCH 10/12] tests/kms_atomic_transition: add out_fences tests

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Signed-off-by: Gustavo Padovan --- lib/igt_kms.c | 22 ++ tests/kms_atomic_transition.c | 30 -- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/lib/igt_kms.c b/lib/igt_kms.c index f25e1eb

[Intel-gfx] [PATCH 12/12] tests/kms_atomic_transition: set out_fence for all crtcs

2016-11-14 Thread Gustavo Padovan
From: Gustavo Padovan Signed-off-by: Gustavo Padovan --- tests/kms_atomic_transition.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c index 54fc9da..3022e04 100644 --- a/tests

Re: [Intel-gfx] [PATCH 1/5] drm/core: Add drm_encoder_index.

2016-02-03 Thread Gustavo Padovan
tions(+) Reviewed-by: Gustavo Padovan Gustavo ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 2/5] drm/core: Add drm_for_each_encoder_mask, v2.

2016-02-03 Thread Gustavo Padovan
Hi Maarten, 2016-01-07 Maarten Lankhorst : > This is similar to the other drm_for_each_*_mask functions. > > Changes since v1: > - Use for_each_if > > Signed-off-by: Maarten Lankhorst > --- > include/drm/drm_crtc.h | 11 +++ > 1 file changed, 11 insertio

Re: [Intel-gfx] [PATCH 3/5] drm/i915: Do not touch best_encoder for load detect.

2016-02-03 Thread Gustavo Padovan
Hi Maarten, 2016-01-07 Maarten Lankhorst : > This should only be touched by drm_atomic_helper. > > Signed-off-by: Maarten Lankhorst > --- > drivers/gpu/drm/i915/intel_display.c | 2 -- > 1 file changed, 2 deletions(-) Reviewed-by: Gustavo Padovan

Re: [Intel-gfx] [PATCH 4/5] drm/atomic: Do not unset crtc when an encoder is stolen

2016-02-03 Thread Gustavo Padovan
by: Maarten Lankhorst > --- > drivers/gpu/drm/drm_atomic_helper.c | 4 > 1 file changed, 4 deletions(-) Reviewed-by: Gustavo Padovan Gustavo ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH v3 5/5] drm/atomic: Add encoder_mask to crtc_state, v3.

2016-02-03 Thread Gustavo Padovan
tc), with explanation. > - Call set_best_encoder when connector is moved between crtc's. > - Add some paranoia to steal_encoder to prevent accidentally setting > best_encoder to NULL. > > Signed-off-by: Maarten Lankhorst Reviewed-by: Gustavo Padovan Gustavo

Re: [Intel-gfx] [RFC 5/5] drm: Do not log driver prefix in debug messages

2016-12-06 Thread Gustavo Padovan
Hi Tvrtko, 2016-12-06 Tvrtko Ursulin : > From: Tvrtko Ursulin > > Driver prefix is a bit redundant in debug messages. If we choose > not to log it we change debug messages which used to look like this: > > [i915:edp_panel_off [i915]] Wait for panel power off time > > to this: > > [edp_pane

Re: [Intel-gfx] [PATCH 1/5] dma-buf: Extract dma-buf.rst

2016-12-12 Thread Gustavo Padovan
Documentation/driver-api/index.rst | 1 + > Documentation/driver-api/infrastructure.rst | 70 --- > include/linux/dma-fence.h | 1 - > 4 files changed, 74 insertions(+), 71 deletions(-) > create mode 100644 Documentation/

Re: [Intel-gfx] [PATCH 2/5] dma-buf: Update kerneldoc for sync_file_create

2016-12-12 Thread Gustavo Padovan
nce when > creating sync_file") > Cc: Gustavo Padovan > Cc: Sean Paul > Cc: linux-...@vger.kernel.org > Cc: Jonathan Corbet > Cc: Sumit Semwal > Signed-off-by: Daniel Vetter > --- > drivers/dma-buf/sync_file.c | 14 -- > 1 file changed, 4 inser

Re: [Intel-gfx] [PATCH i-g-t v4 01/13] lib/sw_sync: Add helper functions for managing synchronization primitives

2016-09-15 Thread Gustavo Padovan
2016-09-15 Robert Foss : > > > On 2016-09-15 02:35 PM, Robert Foss wrote: > > > > > > On 2016-09-15 02:46 AM, Chris Wilson wrote: > > > On Wed, Sep 14, 2016 at 11:04:30AM -0400, robert.f...@collabora.com > > > wrote: > > > > +void sw_sync_timeline_inc(int fd, uint32_t count) > > > > +{ > > > >

[Intel-gfx] [PATCH 04/14] drm/i915: use drm_crtc_send_vblank_event()

2016-04-14 Thread Gustavo Padovan
From: Gustavo Padovan Replace the legacy drm_send_vblank_event() with the new helper function. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/i915/intel_display.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu

Re: [Intel-gfx] [PATCH] dma/fence: Export enable-signaling tracepoint for emission by drivers

2017-01-27 Thread Gustavo Padovan
on > Cc: Sumit Semwal > Cc: Daniel Vetter > --- > drivers/dma-buf/dma-fence.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Gustavo Padovan Gustavo ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.fr

Re: [Intel-gfx] [PATCH] dma/fence: Export enable-signaling tracepoint for emission by drivers

2017-01-27 Thread Gustavo Padovan
Hi Chris, 2017-01-24 Chris Wilson : > Currently this tracepoint is solely used by dma_fence_enable_sw_signaling, > however I have a need to manually perform the hw enabling of the > signaling and would like to emit this tracepoint for completeness. > > Signed-off-by: Chris Wilson > Cc: Sumit Se

Re: [Intel-gfx] [PATCH] drm/atomic: Fix double free in drm_atomic_state_default_clear

2017-01-31 Thread Gustavo Padovan
y free it if it's ours > + * to prevent a double free in drm_atomic_state_clear. >*/ > - if (crtc_state->event) > - drm_event_cancel_free(dev, &crtc_state->event->base); > + if (event && (event->base.fence || event->base.file_priv)) { > + drm_event_cancel_free(dev, &event->base); > + crtc_state->event = NULL; > + } This makes sense to me: Reviewed-by: Gustavo Padovan Gustavo ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH] dma-buf/fence: Avoid use of uninitialised timestamp

2017-02-14 Thread Gustavo Padovan
to record the > presence of the timestamp, and teach the readers to wait until it is set > if the fence is complete. There still remains a race where the timestamp > for the signaled fence may be shown before the fence is reported as > signaled, but that's a pre-existing error.

Re: [Intel-gfx] [PATCH] dma-buf/fence: Avoid use of uninitialised timestamp

2017-02-14 Thread Gustavo Padovan
2017-02-14 Chris Wilson : > On Tue, Feb 14, 2017 at 11:40:38AM -0200, Gustavo Padovan wrote: > > Hi Chris, > > > > 2017-02-14 Chris Wilson : > > > diff --git a/drivers/dma-buf/sync_debug.c b/drivers/dma-buf/sync_debug.c > > > index c769dc653b34..bfead123

Re: [Intel-gfx] [RFC 3/9] staging/android/sync: Move sync framework out of staging

2016-01-13 Thread Gustavo Padovan
Hi John, 2016-01-13 john.c.harri...@intel.com : > From: John Harrison > > The sync framework is now used by the i915 driver. Therefore it can be > moved out of staging and into the regular tree. Also, the public > interfaces can actually be made public and exported. I also have been working on

Re: [Intel-gfx] [RFC 2/9] staging/android/sync: add sync_fence_create_dma

2016-01-13 Thread Gustavo Padovan
Maarten Lankhorst > Signed-off-by: Tvrtko Ursulin > Cc: Maarten Lankhorst > Cc: Daniel Vetter > Cc: Jesse Barnes > Cc: de...@driverdev.osuosl.org > Cc: Riley Andrews > Cc: Greg Kroah-Hartman > Cc: Arve Hjønnevåg > Cc: Gustavo Padovan > Reviewed-by: Jesse Ba

Re: [Intel-gfx] [RFC 3/9] staging/android/sync: Move sync framework out of staging

2016-01-13 Thread Gustavo Padovan
New patch for series. > > Signed-off-by: John Harrison > Signed-off-by: Geoff Miller > Cc: Gustavo Padovan > Cc: Greg Kroah-Hartman > Cc: Arve Hjønnevåg > Cc: Riley Andrews > --- > drivers/android/Kconfig| 28 ++ > drivers/android/Makefile

Re: [Intel-gfx] [RFC 3/9] staging/android/sync: Move sync framework out of staging

2016-01-14 Thread Gustavo Padovan
Hi John, 2016-01-14 John Harrison : > On 13/01/2016 19:00, Gustavo Padovan wrote: > >Hi John, > > > >2016-01-13 john.c.harri...@intel.com : > > > >>From: John Harrison > >> > >>The sync framework is now used by the i915 driver. Therefore i

Re: [Intel-gfx] [PATCH v5] dma-buf/sync-file: Defer creation of sync_file->name

2017-05-24 Thread Gustavo Padovan
/write race by only storing the name passed > > in from the user inside sync_file->user_name and passing in a buffer to > > dynamically construct the name otherwise. > > > > Signed-off-by: Chris Wilson > > Cc: Sumit Semwal > > Cc: Gustavo Padovan

[Intel-gfx] [PATCH RESEND 0/6] drm/atomic: add async plane update

2017-05-25 Thread Gustavo Padovan
From: Gustavo Padovan Hi, Resending to include intel-gfx@ and get the patches picked up by CI. New version of the patches after the comments from Archit. Full details and the previous discussion can be found here: https://www.spinics.net/lists/dri-devel/msg141337.html I'm not includin

[Intel-gfx] [PATCH RESEND 5/6] drm/msm: remove mdp5_cursor_plane_funcs

2017-05-25 Thread Gustavo Padovan
From: Gustavo Padovan After converting legacy cursor updates to atomic async commits mdp5_cursor_plane_funcs just duplicates mdp5_plane_funcs now. Cc: Rob Clark Cc: Archit Taneja Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 26 +++--- 1

[Intel-gfx] [PATCH RESEND 6/6] drm/vc4: update cursors asynchronously through atomic

2017-05-25 Thread Gustavo Padovan
From: Gustavo Padovan Add support to async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what vc4_update_plane() did but through atomic. v3: move size checks back to drivers (Ville Syrjälä) v2: move fb setting to core and use new state

[Intel-gfx] [PATCH RESEND 4/6] drm/msm: update cursors asynchronously through atomic

2017-05-25 Thread Gustavo Padovan
From: Gustavo Padovan Add support to async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what mdp5_update_cursor_plane_legacy() did but through atomic. v4: add missing atomic async commit call to msm_atomic_commit(Archit Taneja) v3: move

[Intel-gfx] [PATCH RESEND 1/6] drm/atomic: initial support for asynchronous plane update

2017-05-25 Thread Gustavo Padovan
From: Gustavo Padovan In some cases, like cursor updates, it is interesting to update the plane in an asynchronous fashion to avoid big delays. The current queued update could be still waiting for a fence to signal and thus block any subsequent update until its scan out. In cases like this if we

[Intel-gfx] [PATCH RESEND 3/6] drm/i915: remove intel_cursor_plane_funcs

2017-05-25 Thread Gustavo Padovan
From: Gustavo Padovan After converting legacy cursor updates to atomic async commits intel_cursor_plane_funcs just duplicates intel_plane_funcs now. Cc: Daniel Vetter Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/i915/intel_display.c | 13 + 1 file changed, 1 insertion

[Intel-gfx] [PATCH RESEND 2/6] drm/i915: update cursors asynchronously through atomic

2017-05-25 Thread Gustavo Padovan
From: Gustavo Padovan Add support to async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what intel_legacy_cursor_update() did but through atomic. v3: - set correct vma to new state for cleanup - move size checks back to

Re: [Intel-gfx] [PATCH RESEND 6/6] drm/vc4: update cursors asynchronously through atomic

2017-05-31 Thread Gustavo Padovan
2017-05-31 Eric Anholt : > Gustavo Padovan writes: > > > From: Gustavo Padovan > > > > Add support to async updates of cursors by using the new atomic > > "Add support for" > > > interface for that. Basically what this commit does is do w

Re: [Intel-gfx] [PATCH RESEND 1/6] drm/atomic: initial support for asynchronous plane update

2017-05-31 Thread Gustavo Padovan
2017-05-31 Eric Anholt : > Gustavo Padovan writes: > > > From: Gustavo Padovan > > > > In some cases, like cursor updates, it is interesting to update the > > plane in an asynchronous fashion to avoid big delays. The current queued > > update could be sti

Re: [Intel-gfx] [PATCH RESEND 1/6] drm/atomic: initial support for asynchronous plane update

2017-06-11 Thread Gustavo Padovan
2017-06-01 Gustavo Padovan : > 2017-05-31 Eric Anholt : > > > Gustavo Padovan writes: > > > > > From: Gustavo Padovan > > > > > > In some cases, like cursor updates, it is interesting to update the > > > plane in an asynchronous fashio

[Intel-gfx] [PATCH v2 2/6] drm/i915: update cursors asynchronously through atomic

2017-06-14 Thread Gustavo Padovan
From: Gustavo Padovan Add support to async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what intel_legacy_cursor_update() did but through atomic. v3: - set correct vma to new state for cleanup - move size checks back to

[Intel-gfx] [PATCH v2 1/6] drm/atomic: initial support for asynchronous plane update

2017-06-14 Thread Gustavo Padovan
From: Gustavo Padovan In some cases, like cursor updates, it is interesting to update the plane in an asynchronous fashion to avoid big delays. The current queued update could be still waiting for a fence to signal and thus block any subsequent update until its scan out. In cases like this if we

[Intel-gfx] [PATCH v2 3/6] drm/i915: remove intel_cursor_plane_funcs

2017-06-14 Thread Gustavo Padovan
From: Gustavo Padovan After converting legacy cursor updates to atomic async commits intel_cursor_plane_funcs just duplicates intel_plane_funcs now. Cc: Daniel Vetter Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/i915/intel_display.c | 13 + 1 file changed, 1 insertion

[Intel-gfx] [PATCH v2 0/6] drm: add asynchrounous plane update

2017-06-14 Thread Gustavo Padovan
From: Gustavo Padovan Hi, Another iteration on this patchset. Added some a-b and r-b tags to it and fixed issues in patch 6 reported by Eric. That patch still needs testing but the rest is tested and working, looking to be already in a good shape. More info in the email from the previous

[Intel-gfx] [PATCH v2 4/6] drm/msm: update cursors asynchronously through atomic

2017-06-14 Thread Gustavo Padovan
From: Gustavo Padovan Add support to async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what mdp5_update_cursor_plane_legacy() did but through atomic. v4: add missing atomic async commit call to msm_atomic_commit(Archit Taneja) v3: move

[Intel-gfx] [PATCH v2 6/6] drm/vc4: update cursors asynchronously through atomic

2017-06-14 Thread Gustavo Padovan
From: Gustavo Padovan Add support for async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what vc4_update_plane() did but through atomic. v4: add drm_atomic_helper_async() commit (Eric Anholt) v3: move size checks back to drivers (Ville

[Intel-gfx] [PATCH v2 5/6] drm/msm: remove mdp5_cursor_plane_funcs

2017-06-14 Thread Gustavo Padovan
From: Gustavo Padovan After converting legacy cursor updates to atomic async commits mdp5_cursor_plane_funcs just duplicates mdp5_plane_funcs now. Cc: Rob Clark Cc: Archit Taneja Signed-off-by: Gustavo Padovan Tested-by: Archit Taneja --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 26

[Intel-gfx] [PATCH] drm/vc4: update cursors asynchronously through atomic

2017-06-15 Thread Gustavo Padovan
From: Gustavo Padovan Add support for async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what vc4_update_plane() did but through atomic. v5: add missing call to vc4_plane_atomic_check() (Eric Anholt) v4: add drm_atomic_helper_async

[Intel-gfx] [PATCH v3 0/6] drm: add asynchrounous plane update

2017-06-28 Thread Gustavo Padovan
From: Gustavo Padovan Hi, This is just a rebase on top of latest drm-misc-next. Last iteration can be found here: https://www.spinics.net/lists/intel-gfx/msg130582.html Please review! Thanks, Gustavo --- Gustavo Padovan (6): drm/atomic: initial support for asynchronous plane update

[Intel-gfx] [PATCH v3 1/6] drm/atomic: initial support for asynchronous plane update

2017-06-28 Thread Gustavo Padovan
From: Gustavo Padovan In some cases, like cursor updates, it is interesting to update the plane in an asynchronous fashion to avoid big delays. The current queued update could be still waiting for a fence to signal and thus block any subsequent update until its scan out. In cases like this if we

[Intel-gfx] [PATCH v3 3/6] drm/i915: remove intel_cursor_plane_funcs

2017-06-28 Thread Gustavo Padovan
From: Gustavo Padovan After converting legacy cursor updates to atomic async commits intel_cursor_plane_funcs just duplicates intel_plane_funcs now. Cc: Daniel Vetter Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/i915/intel_display.c | 13 + 1 file changed, 1 insertion

[Intel-gfx] [PATCH v3 2/6] drm/i915: update cursors asynchronously through atomic

2017-06-28 Thread Gustavo Padovan
From: Gustavo Padovan Add support to async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what intel_legacy_cursor_update() did but through atomic. v3: - set correct vma to new state for cleanup - move size checks back to

[Intel-gfx] [PATCH v3 4/6] drm/msm: update cursors asynchronously through atomic

2017-06-28 Thread Gustavo Padovan
From: Gustavo Padovan Add support to async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what mdp5_update_cursor_plane_legacy() did but through atomic. v4: add missing atomic async commit call to msm_atomic_commit(Archit Taneja) v3: move

[Intel-gfx] [PATCH v3 5/6] drm/msm: remove mdp5_cursor_plane_funcs

2017-06-28 Thread Gustavo Padovan
From: Gustavo Padovan After converting legacy cursor updates to atomic async commits mdp5_cursor_plane_funcs just duplicates mdp5_plane_funcs now. Cc: Rob Clark Cc: Archit Taneja Signed-off-by: Gustavo Padovan Tested-by: Archit Taneja --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 26

[Intel-gfx] [PATCH v3 6/6] drm/vc4: update cursors asynchronously through atomic

2017-06-28 Thread Gustavo Padovan
From: Gustavo Padovan Add support for async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what vc4_update_plane() did but through atomic. v5: add missing call to vc4_plane_atomic_check() (Eric Anholt) v4: add drm_atomic_helper_async

Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm: add asynchrounous plane update (rev4)

2017-06-28 Thread Gustavo Padovan
This patch is meant for drm-misc, where the changes to intel_plane->update_plane() and intel_plane->disable_plane() are not present, so this patchset just builds fine there. 2017-06-28 Patchwork : > == Series Details == > > Series: drm: add asynchrounous plane update (rev4) > URL : https://pat

Re: [Intel-gfx] [PATCH 1/7] dma-buf/dma-fence: Extract __dma_fence_is_later()

2017-06-29 Thread Gustavo Padovan
Hi, 2017-06-29 Sean Paul : > On Thu, Jun 29, 2017 at 01:59:24PM +0100, Chris Wilson wrote: > > Often we have the task of comparing two seqno known to be on the same > > context, so provide a common __dma_fence_is_later(). > > > > Signed-off-by: Chris Wilson > > Cc: Sumit Semwal > > Cc: Sean Pa

[Intel-gfx] [PATCH v4 0/6] drm: add asynchrounous plane update

2017-06-30 Thread Gustavo Padovan
From: Gustavo Padovan Hi, Follow up after Daniel's comments. Here I move the common async code to drm_atomic_helper.c. i915 and msm now have to call the drm_atomic_helper_async_check() themselves. Please review! Thanks. Gustavo Gustavo Padovan (6): drm/atomic: initial suppor

[Intel-gfx] [PATCH v4 1/6] drm/atomic: initial support for asynchronous plane update

2017-06-30 Thread Gustavo Padovan
From: Gustavo Padovan In some cases, like cursor updates, it is interesting to update the plane in an asynchronous fashion to avoid big delays. The current queued update could be still waiting for a fence to signal and thus block any subsequent update until its scan out. In cases like this if we

[Intel-gfx] [PATCH v4 2/6] drm/i915: update cursors asynchronously through atomic

2017-06-30 Thread Gustavo Padovan
From: Gustavo Padovan Add support to async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what intel_legacy_cursor_update() did but through atomic. v4: - call drm_atomic_helper_async_check() from the check hook v3: - set

[Intel-gfx] [PATCH v4 5/6] drm/msm: remove mdp5_cursor_plane_funcs

2017-06-30 Thread Gustavo Padovan
From: Gustavo Padovan After converting legacy cursor updates to atomic async commits mdp5_cursor_plane_funcs just duplicates mdp5_plane_funcs now. Cc: Rob Clark Cc: Archit Taneja Signed-off-by: Gustavo Padovan Tested-by: Archit Taneja --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 26

[Intel-gfx] [PATCH v4 3/6] drm/i915: remove intel_cursor_plane_funcs

2017-06-30 Thread Gustavo Padovan
From: Gustavo Padovan After converting legacy cursor updates to atomic async commits intel_cursor_plane_funcs just duplicates intel_plane_funcs now. Cc: Daniel Vetter Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/i915/intel_display.c | 13 + 1 file changed, 1 insertion

[Intel-gfx] [PATCH v4 4/6] drm/msm: update cursors asynchronously through atomic

2017-06-30 Thread Gustavo Padovan
From: Gustavo Padovan Add support to async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what mdp5_update_cursor_plane_legacy() did but through atomic. v5: call drm_atomic_helper_async_check() from the check hook v4: add missing atomic

[Intel-gfx] [PATCH v4 6/6] drm/vc4: update cursors asynchronously through atomic

2017-06-30 Thread Gustavo Padovan
From: Gustavo Padovan Add support for async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what vc4_update_plane() did but through atomic. v5: add missing call to vc4_plane_atomic_check() (Eric Anholt) v4: add drm_atomic_helper_async

Re: [Intel-gfx] [PATCH i-g-t 0/5] igt/kms: Make fence waiting explicit.

2017-07-06 Thread Gustavo Padovan
| 41 -- > tests/kms_atomic_transition.c | 99 > +-- > 2 files changed, 95 insertions(+), 45 deletions(-) This make fencing a lot cleaner. For the whole series: Acked-by: Gustavo Padovan Gustavo ___ Intel-gfx mai

Re: [Intel-gfx] [PATCH] dma-buf/fence: Avoid use of uninitialised timestamp

2017-07-14 Thread Gustavo Padovan
and even for it to be corrupted if > > the u64 write is not atomic. Instead use a new bit to record the > > presence of the timestamp, and teach the readers to wait until it is set > > if the fence is complete. There still remains a race where the timestamp > > for t

Re: [Intel-gfx] [PATCH] dma-buf/sync_file: Allow multiple sync_files to wrap a single dma-fence

2017-07-29 Thread Gustavo Padovan
tion in commit e24165537312 > ("dma-buf/sync_file: only enable fence signalling on poll()") to use a > single bit in the shared dma-fence and restores the sync_file->flags for > tracking the bits individually. > > Reported-by: Gustavo Padovan > Fixes: f1e8c67123cf ("d

Re: [Intel-gfx] [PATCH] dma-buf/sync_file: Allow multiple sync_files to wrap a single dma-fence

2017-07-31 Thread Gustavo Padovan
2017-07-31 Daniel Vetter : > On Sat, Jul 29, 2017 at 12:18:32PM -0300, Gustavo Padovan wrote: > > Hi Chris, > > > > 2017-07-28 Chris Wilson : > > > > > Up until recently sync_file were create to export a single dma-fence to > > > userspace, and so

Re: [Intel-gfx] [maintainer-tools PATCH] dim: Sign commits in addition to tags

2017-11-01 Thread Gustavo Padovan
2017-10-31 Sean Paul : > On Tue, Oct 31, 2017 at 1:31 PM, Daniel Vetter wrote: > > On Tue, Oct 31, 2017 at 5:14 PM, Sean Paul wrote: > >> On Tue, Oct 31, 2017 at 4:27 AM, Jani Nikula > >> wrote: > >>> > >>> Reminder, we have this new list dim-to...@lists.freedesktop.org for > >>> maintainer too

[Intel-gfx] [PULL] drm-misc-fixes

2018-02-21 Thread Gustavo Padovan
Hi Dave, A bunch of fixes for 4.16. For some reason the lut fixes showed up again here when generating the pull-request with dim-tools. Once you pull I can fast forward the to drm-fixes hopefully. Thanks, Gustavo drm-misc-fixes-2018-02-21: Fixes for 4.16. I contains fixes for deadlock on runtim

[Intel-gfx] [PULL] drm-misc-fixes

2018-02-28 Thread Gustavo Padovan
Hi Dave, A few more fixes for 4.16, including 2 regression fixes. Please pull. Thanks, Gustavo drm-misc-fixes-2018-02-28: Two regression fixes here: a fb format regression on nouveau and a 4.16-rc1 regression with on LVDS with one sun4i device. Plus a sun4i and a virtio-gpu fixes. The followin

[Intel-gfx] [PULL] drm-misc-fixes

2018-03-07 Thread Gustavo Padovan
Hi Dave, Only a few sun4i fixes this week. Please pull. Regards, Gustavo drm-misc-fixes-2018-03-07: sun4i fixes on clk, division by zero and LVDS. The following changes since commit 9a191b114906457c4b2494c474f58ae4142d4e67: virtio-gpu: fix ioctl and expose the fixed status to userspace. (201

[Intel-gfx] [PATCH] tests/kms_cursor_legacy: use 'enum pipe' type instead of 'int'

2017-08-02 Thread Gustavo Padovan
From: Gustavo Padovan Signed-off-by: Gustavo Padovan --- tests/kms_cursor_legacy.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c index 8180b04..15208f8 100644 --- a/tests/kms_cursor_legacy.c +++ b/tests

Re: [Intel-gfx] [PATCH] drm/atomic: Handle -EDEADLK with out-fences correctly

2017-08-18 Thread Gustavo Padovan
and installing over an existing > fd, or potential other fun. > > Zero fence_state and num_fences correctly in the retry loop, which > allows kms_atomic_transition to pass. > > Fixes: beaf5af48034 ("drm/fence: add out-fences support") > Cc: Gustavo Padovan > Cc: B

Re: [Intel-gfx] [RFC PATCH 5/5] drm/atomic: Make async plane update checks work as intended.

2017-09-02 Thread Gustavo Padovan
update, and force the slowpath > > to be used as was originally intended. > > > > Cc: Gustavo Padovan > > Signed-off-by: Maarten Lankhorst > > Makes sense, but I think like patch 1 it would be better to do this in a > separate series. Which would then include

[Intel-gfx] [-PATCH v5 1/5] drm/i915: update cursors asynchronously through atomic

2017-09-08 Thread Gustavo Padovan
From: Gustavo Padovan Add support to async updates of cursors by using the new atomic interface for that. Basically what this commit does is do what intel_legacy_cursor_update() did but through atomic. v4: - call drm_atomic_helper_async_check() from the check hook v3: - set

  1   2   >