[Intel-gfx] [PATCH 9/9] drm/i915: Make all plane disables use 'update_plane'

2014-11-24 Thread Matt Roper
If we extend the commit_plane handlers for each plane type to be able to handle fb=0, then we can easily implement plane disable via the update_plane handler. The cursor plane already works this way, and this is the direction we need to go to integrate with the atomic plane handler. We can now ki

Re: [Intel-gfx] [PATCH 9/9] drm/i915: Make all plane disables use 'update_plane'

2014-12-01 Thread Ander Conselvan de Oliveira
On 11/24/2014 09:53 PM, Matt Roper wrote: If we extend the commit_plane handlers for each plane type to be able to handle fb=0, then we can easily implement plane disable via the update_plane handler. The cursor plane already works this way, and this is the direction we need to go to integrate w

Re: [Intel-gfx] [PATCH 9/9] drm/i915: Make all plane disables use 'update_plane'

2014-12-01 Thread Daniel Vetter
On Mon, Dec 01, 2014 at 04:04:18PM +0200, Ander Conselvan de Oliveira wrote: > On 11/24/2014 09:53 PM, Matt Roper wrote: > >+/** > >+ * intel_disable_plane - disable a plane > >+ * @plane: plane to disable > >+ * > >+ * General disable handler for all plane types. > >+ */ > >+int > >+intel_disable_