[PATCH 5/5] drm/atomic-helpers: make mode_set hooks optional

2015-02-23 Thread Daniel Vetter
On Sun, Feb 22, 2015 at 08:17:04PM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Sunday 22 February 2015 19:53:23 Laurent Pinchart wrote: > > On Sunday 22 February 2015 12:24:20 Daniel Vetter wrote: > > > With runtime PM the hw might still be off while doing the ->mode_set > > > callbacks - r

[PATCH 5/5] drm/atomic-helpers: make mode_set hooks optional

2015-02-22 Thread Laurent Pinchart
Hi Daniel, On Sunday 22 February 2015 19:53:23 Laurent Pinchart wrote: > On Sunday 22 February 2015 12:24:20 Daniel Vetter wrote: > > With runtime PM the hw might still be off while doing the ->mode_set > > callbacks - runtime PM get/put should only happen in the > > enable/disable hooks to proper

[PATCH 5/5] drm/atomic-helpers: make mode_set hooks optional

2015-02-22 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Sunday 22 February 2015 12:24:20 Daniel Vetter wrote: > With runtime PM the hw might still be off while doing the ->mode_set > callbacks - runtime PM get/put should only happen in the > enable/disable hooks to properly support DPMS. Which essentially makes >

[PATCH 5/5] drm/atomic-helpers: make mode_set hooks optional

2015-02-22 Thread Daniel Vetter
With runtime PM the hw might still be off while doing the ->mode_set callbacks - runtime PM get/put should only happen in the enable/disable hooks to properly support DPMS. Which essentially makes these callbacks useless for drivers support runtime PM, so make them optional. Again motivated by disc