Re: [Intel-gfx] [RFC 13/15] drm/i915: Introduce intel_schedule_vblank_job()

2015-05-21 Thread Daniel Vetter
On Thu, May 21, 2015 at 04:20:04PM +0300, Ville Syrjälä wrote: > On Wed, May 20, 2015 at 07:12:25PM -0700, Matt Roper wrote: > > Various places in the driver need the ability to schedule actions to run > > on a future vblank (updating watermarks, unpinning buffers, etc.). The > > long term goal is

Re: [Intel-gfx] [RFC 13/15] drm/i915: Introduce intel_schedule_vblank_job()

2015-05-21 Thread Ville Syrjälä
On Wed, May 20, 2015 at 07:12:25PM -0700, Matt Roper wrote: > Various places in the driver need the ability to schedule actions to run > on a future vblank (updating watermarks, unpinning buffers, etc.). The > long term goal is to add such a mechanism in the DRM core that can be > shared by all dr

[Intel-gfx] [RFC 13/15] drm/i915: Introduce intel_schedule_vblank_job()

2015-05-20 Thread Matt Roper
Various places in the driver need the ability to schedule actions to run on a future vblank (updating watermarks, unpinning buffers, etc.). The long term goal is to add such a mechanism in the DRM core that can be shared by all drivers. Paulo Zanoni has already written some preliminary patches to