[PATCH] drm/omap: fix primary-plane's possible_crtcs

2016-12-01 Thread Tomi Valkeinen
On 30/11/16 16:36, Laurent Pinchart wrote: > Hi Tomi, > > Thank you for the patch. > > On Wednesday 30 Nov 2016 12:38:51 Tomi Valkeinen wrote: >> We set the possible_crtc for all planes to "(1 << priv->num_crtcs) - 1", >> which is fine as the HW planes can be used fro all crtcs. However, when >>

[PATCH] drm/omap: fix primary-plane's possible_crtcs

2016-11-30 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Wednesday 30 Nov 2016 12:38:51 Tomi Valkeinen wrote: > We set the possible_crtc for all planes to "(1 << priv->num_crtcs) - 1", > which is fine as the HW planes can be used fro all crtcs. However, when > we're doing that, we are still incrementing 'num_crtcs',

[PATCH] drm/omap: fix primary-plane's possible_crtcs

2016-11-30 Thread Ville Syrjälä
On Wed, Nov 30, 2016 at 12:38:51PM +0200, Tomi Valkeinen wrote: > We set the possible_crtc for all planes to "(1 << priv->num_crtcs) - 1", > which is fine as the HW planes can be used fro all crtcs. However, when > we're doing that, we are still incrementing 'num_crtcs', and we'll end > up with bad

[PATCH] drm/omap: fix primary-plane's possible_crtcs

2016-11-30 Thread Tomi Valkeinen
We set the possible_crtc for all planes to "(1 << priv->num_crtcs) - 1", which is fine as the HW planes can be used fro all crtcs. However, when we're doing that, we are still incrementing 'num_crtcs', and we'll end up with bad possible_crtcs, preventing the use of the primary planes. We should ha