On 19/09/16 15:27, Laurent Pinchart wrote: > The hardware requires all planes to have an identical pitch in number of > pixels. Given that all supported formats use the same number of bytes > per pixel in all planes, framebuffer creation checks can be simplified. > The implementations assumes that no format use more than two planes > which is true with the existing hardware. > > Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com> > --- > Changes since v1: > > - Clarify commit message and mention explicitly in the code that only > one and two planes formats are supported. > - Rebase on top of the switch to drm_format_info() > --- > drivers/gpu/drm/omapdrm/omap_fb.c | 58 > +++++++++++++++++++++------------------ > 1 file changed, 31 insertions(+), 27 deletions(-)
Reviewed-by: Tomi Valkeinen <tomi.valkeinen at ti.com> Tomi -------------- 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/20160920/cf4f7ff1/attachment-0001.sig>