From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Subject: Re: [PATCH v2 01/20] drm: omapdrm: fb: Limit number of planes per framebuffer to two Date: Fri, 10 Jun 2016 14:58:32 +0300 Message-ID: <575AAB68.3050001@ti.com> References: <1465256545-533-1-git-send-email-laurent.pinchart@ideasonboard.com> <1465256545-533-2-git-send-email-laurent.pinchart@ideasonboard.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1444405709==" Return-path: Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by gabe.freedesktop.org (Postfix) with ESMTPS id 05F086ED14 for ; Fri, 10 Jun 2016 11:58:37 +0000 (UTC) In-Reply-To: <1465256545-533-2-git-send-email-laurent.pinchart@ideasonboard.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Laurent Pinchart , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1444405709== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aiqjFcDpxIrCpNHEjmJh0fAHANVaowf0e" --aiqjFcDpxIrCpNHEjmJh0fAHANVaowf0e Content-Type: multipart/mixed; boundary="EXlERtU4UnnavWv40Rdj2bQmT1tPHJpj7" From: Tomi Valkeinen To: Laurent Pinchart , dri-devel@lists.freedesktop.org Message-ID: <575AAB68.3050001@ti.com> Subject: Re: [PATCH v2 01/20] drm: omapdrm: fb: Limit number of planes per framebuffer to two References: <1465256545-533-1-git-send-email-laurent.pinchart@ideasonboard.com> <1465256545-533-2-git-send-email-laurent.pinchart@ideasonboard.com> In-Reply-To: <1465256545-533-2-git-send-email-laurent.pinchart@ideasonboard.com> --EXlERtU4UnnavWv40Rdj2bQmT1tPHJpj7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 07/06/16 02:42, Laurent Pinchart wrote: > The only multi-planar format supported by the driver is NV12, there wil= l > thus never be more than two planes per framebuffer. >=20 > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/omapdrm/omap_fb.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/gpu/drm/omapdrm/omap_fb.c b/drivers/gpu/drm/omapdr= m/omap_fb.c > index 530567cc25b7..4214138d5795 100644 > --- a/drivers/gpu/drm/omapdrm/omap_fb.c > +++ b/drivers/gpu/drm/omapdrm/omap_fb.c > @@ -36,7 +36,7 @@ struct format { > struct { > int stride_bpp; /* this times width is stride */ > int sub_y; /* sub-sample in y dimension */ > - } planes[4]; > + } planes[2]; > bool yuv; > }; > =20 > @@ -90,7 +90,7 @@ struct omap_framebuffer { > struct drm_framebuffer base; > int pin_count; > const struct format *format; > - struct plane planes[4]; > + struct plane planes[2]; > /* lock for pinning (pin_count and planes.paddr) */ > struct mutex lock; > }; >=20 Reviewed-by: Tomi Valkeinen Tomi --EXlERtU4UnnavWv40Rdj2bQmT1tPHJpj7-- --aiqjFcDpxIrCpNHEjmJh0fAHANVaowf0e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXWqtoAAoJEPo9qoy8lh71qxkP/0CIW+9b5R3OCxGGBchtMlvy fGZTXmD2PCK6J5b3Eeq7jfyMZm9xhukj8kDqiUUgP7qj6c+RDd9gECN+CRFlUSu2 3fc9rpgoHjHjPSA5ETzMGItRMb6fRF47khoGUWwlh92l8G2ec5zN0zQLMgk+IMO+ HHoIVm+nxRBJN2Z+m1+mWHCVUfF8pbWBC6YY362pjy/a5io9iraEwUQlHKxdGIo7 OZtrtq6GRlCYs8+BEPeIHQmoHBX04/awl78Ef6Dpyz4mgtQ1xqlFNZSA3NDxBFG4 geJ/VCdNG/g/sDaAd9V1ADCKrCQ7JEe+3VDivU3/V7viD7l1nqcUBDyVA65xZYHU /u3Y+m+LMLAswLx5J+mptrRRzjwmV6WWR4kOp4PbrAsIJGwRpq6vQfjJlEmaJEpX yTibsp+PRkMCkhRAq75LZUWKTxuG0VIfojEONicLZnj69QSxEsYTW3APjplZEDOl YGlTze4ex+iZnb52CEXY10iJUZofgGyEX0nU//syPJ5XxsCFe7kgoAhsw4djI87i 1diIOGSh4N+E+am2zJUkY3arxGAir1ZyBSGJWSNanEBofNwKvoUIb//DGI+7qTqO 6RWbKeKIkIMcFhleGjtI7j6fQzsXmSt+U1DHt3IRePdqF9aRsAQTqM+5W/pXPdPn JLio51ynMqrJJBqTLfjP =CpTq -----END PGP SIGNATURE----- --aiqjFcDpxIrCpNHEjmJh0fAHANVaowf0e-- --===============1444405709== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1444405709==--