[PATCH i915 v2 2/2] i915: wait for fences in atomic commit

2015-11-09 Thread Alexander Goins
>Could you put the wait inside prepare_plane_fb? Yeah, that works, and it gets rid of the need to loop over the planes. I wait on the fence before taking out the struct_mutex lock like so: @@ -13369,6 +13345,13 @@ intel_prepare_plane_fb(struct drm_plane *plane, if (!obj)

[PATCH i915 v2 2/2] i915: wait for fences in atomic commit

2015-11-02 Thread Maarten Lankhorst
Op 31-10-15 om 02:03 schreef Alex Goins: > For all buffers backed by dmabuf, wait for its reservation object's fences > before committing. > > Signed-off-by: Alex Goins > --- > drivers/gpu/drm/i915/intel_display.c | 24 > 1 file changed, 24 insertions(+) > > diff --git a/

[PATCH i915 v2 2/2] i915: wait for fences in atomic commit

2015-10-30 Thread Alex Goins
For all buffers backed by dmabuf, wait for its reservation object's fences before committing. Signed-off-by: Alex Goins --- drivers/gpu/drm/i915/intel_display.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i