[GIT PULL] ARC fixes for 4.7-rc3

2016-06-08 Thread Vineet Gupta
Hi Linus, Please pull ! Thx, -Vineet > The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ tags/arc-4.7-

Re: [PATCH 03/27] drm/arc: Actually bother with handling atomic events.

2016-06-08 Thread Daniel Vetter
On Wed, Jun 08, 2016 at 04:14:38PM +0200, Maarten Lankhorst wrote: > Op 08-06-16 om 14:18 schreef Daniel Vetter: > > The drm core has a nice ready-made helper for exactly the simple case > > where it should fire on the next vblank. > > > > Note that arming the vblank event in _begin is probably too

Re: [PATCH 11/27] drm/arc: Implement nonblocking commit correctly

2016-06-08 Thread Maarten Lankhorst
Op 08-06-16 om 14:19 schreef Daniel Vetter: > Committing with block it is not. > > Thanks to the fixed up vblank event handling we can just use the > helper support for nonblocking commits now. > > Cc: Carlos Palminha > Cc: Alexey Brodkin > Cc: linux-snps-arc@lists.infradead.org > Signed-off-by:

Re: [PATCH 03/27] drm/arc: Actually bother with handling atomic events.

2016-06-08 Thread Maarten Lankhorst
Op 08-06-16 om 14:18 schreef Daniel Vetter: > The drm core has a nice ready-made helper for exactly the simple case > where it should fire on the next vblank. > > Note that arming the vblank event in _begin is probably too early, and > might easily result in the vblank firing too early, before the

Re: [PATCH 02/27] drm/arc: Nuke event_list

2016-06-08 Thread Maarten Lankhorst
Op 08-06-16 om 14:18 schreef Daniel Vetter: > This is just used for cleanup in preclose, and with the reworked event > handling code this is now done properly by the core. > > Nuke it! > > But it also shows that arc totally fails at sending out drm events for > flips. Next patch will hack that up.

[PATCH 11/27] drm/arc: Implement nonblocking commit correctly

2016-06-08 Thread Daniel Vetter
Committing with block it is not. Thanks to the fixed up vblank event handling we can just use the helper support for nonblocking commits now. Cc: Carlos Palminha Cc: Alexey Brodkin Cc: linux-snps-arc@lists.infradead.org Signed-off-by: Daniel Vetter --- drivers/gpu/drm/arc/arcpgu_drv.c | 8 +--

[PATCH 03/27] drm/arc: Actually bother with handling atomic events.

2016-06-08 Thread Daniel Vetter
The drm core has a nice ready-made helper for exactly the simple case where it should fire on the next vblank. Note that arming the vblank event in _begin is probably too early, and might easily result in the vblank firing too early, before the new set of planes are actually disabled. But that's k

[PATCH 02/27] drm/arc: Nuke event_list

2016-06-08 Thread Daniel Vetter
This is just used for cleanup in preclose, and with the reworked event handling code this is now done properly by the core. Nuke it! But it also shows that arc totally fails at sending out drm events for flips. Next patch will hack that up. v2: Rebase it! Cc: Carlos Palminha Cc: Alexey Brodkin