From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH 1/3] drm/i915: add SNB and IVB video sprite support v2 Date: Wed, 7 Dec 2011 12:11:24 -0800 Message-ID: <20111207121124.02af462b@jbarnes-desktop> References: <1321302133-23197-1-git-send-email-jbarnes@virtuousgeek.org> <625BA99ED14B2D499DC4E29D8138F1506860C48D08@shsmsx502.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1046634856==" Return-path: Received: from oproxy9.bluehost.com (oproxy9.bluehost.com [69.89.24.6]) by gabe.freedesktop.org (Postfix) with SMTP id DDA98A0B58 for ; Wed, 7 Dec 2011 12:11:26 -0800 (PST) In-Reply-To: <625BA99ED14B2D499DC4E29D8138F1506860C48D08@shsmsx502.ccr.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: "Lan, Hai" Cc: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org --===============1046634856== Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/h89.y=2/3ZU9R_MVghX_17O"; protocol="application/pgp-signature" --Sig_/h89.y=2/3ZU9R_MVghX_17O Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 18 Nov 2011 08:53:30 +0800 "Lan, Hai" wrote: > > + /* > > + * We can take a larger source and scale it down, but > > + * only so much... 16x is the max on SNB. > > + */ > > + if (((src_w * src_h) / (crtc_w * crtc_h)) > intel_plane->max_downscal= e) > > + return -EINVAL; > > + > [Lan, Hai] if crtc_w or crtc_h =3D 0, the drm driver will crash.=20 Pulled this in with a couple of changes; please check out the latest code and make sure it's ok. Thanks, --=20 Jesse Barnes, Intel Open Source Technology Center --Sig_/h89.y=2/3ZU9R_MVghX_17O Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJO38hsAAoJEIEoDkX4Qk9hfG0P/1hCJpPomFCUQ/kTN/RH16hP fhMX4cG6CxhZ5m3mR2Jh6VMD4ybUSYPUVZpGD4WIoXJDzMHA9CuzVSbdokWu/+Wv 32KxuJ0TZ9FIqDtF5s/KT91U1zLksQsU5blj21gndyE7aCddunK4kEoV8LV34+3N SGZUpjurruH2J5iPJ2Ji+fnolZ7zFblPdoNALcDqaMin+AwifWumPU94JS3fD/6I VGvmgi6rthGA17zcef8e4posU5GaX2QxkJuCWoNlzV0eDX9FkN3EIE1Yzmd9CRYx EIdmHzDhcWSs+/0B6PxO6mAfzGUSnhFvJdzIATo6BwCMoZhclISzg8xnLWn90pfy 60m0qnncY3UigYYZrveZmV/njW0iUQSENcoo8odsgfJwzkygDxHhg2lP7YrwlnKB 8Y9MK7uHRDGGKRpuVmDhgpDHkXSMr/9NXnoaiy2ktOLN4GGmR8AdGnULccycwCZ1 /QO5E/drzfn+leDUfr+kD3Edaj8MEFxyRJqnohZATcB6pS4hcUhotKvwq8rqyYzQ lHR03EZl16sxTl5yZqoqn//6m1xeNRyjI3LZsy0+KcXDoxFR4xVs03d2Agq5/bht 00ABAG2zKM9UP6yw8GT5jYn84BpEKO4TzA0ZgI1Erk8Jddrp8xT1PwGM9Oa8nGPq or9AnJv44lNL/InWnyLA =Cbfg -----END PGP SIGNATURE----- --Sig_/h89.y=2/3ZU9R_MVghX_17O-- --===============1046634856== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1046634856==--