[PATCH 30/33] drm/omap: verify that fb plane pitches are the same

Tomi Valkeinen tomi.valkeinen at ti.com
Fri Feb 26 09:12:21 UTC 2016

On 26/02/16 10:55, Laurent Pinchart wrote:

>> I don't quite understand what you mean. The checks apply to all planes.
> My point is that if you add a check to ensure that the pitch is identical in 
> all planes, the other tests on the pitch don't have to be repeated for every 
> plane.

Hmm... The other tests also depend on the plane's bpp, so I'm not sure
if any of those can be skipped.

But I agree, the loop with the checks does look somewhat complex, and
there's probably room for improvement.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160226/4176949e/attachment.sig>

More information about the dri-devel mailing list