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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
tions(+)
Reviewed-by: Gustavo Padovan
Gustavo
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
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
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
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
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
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
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/
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
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)
> > > > +{
> > > >
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
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
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
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
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.
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
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
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
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
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
/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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
| 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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 198 matches
Mail list logo