From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Subject: Re: [PATCH] OMAPDSS: OMAPFB: check for matching memory size early Date: Wed, 21 Mar 2012 14:58:19 +0200 Message-ID: <1332334699.2236.16.camel@deskari> References: <1331253769-9770-1-git-send-email-notasas@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-N5pugJoh3/hsZzAyTOlp" Return-path: Received: from na3sys009aog104.obsmtp.com ([74.125.149.73]:60777 "EHLO na3sys009aog104.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758538Ab2CUM6X (ORCPT ); Wed, 21 Mar 2012 08:58:23 -0400 Received: by mail-lpp01m010-f47.google.com with SMTP id w12so1118019lag.34 for ; Wed, 21 Mar 2012 05:58:22 -0700 (PDT) In-Reply-To: <1331253769-9770-1-git-send-email-notasas@gmail.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Grazvydas Ignotas Cc: linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org --=-N5pugJoh3/hsZzAyTOlp Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Fri, 2012-03-09 at 02:42 +0200, Grazvydas Ignotas wrote: > If the size of memory region that is being set up is the same as before, > we don't have to do memory and layer busy checks. >=20 > Signed-off-by: Grazvydas Ignotas > --- > I'm not sure if this is semantically correct, but this helps to get > some old programs working, that rely on old DSS version which didn't > check for mmap lock, but incidentally they are using same size too.. Well, I wouldn't allow code like that if it was a new ioctl, but if, as you say, the old omapfb worked that way, then I think it's better to do things the same way. I can see no harm in it, so I'll apply. Tomi --=-N5pugJoh3/hsZzAyTOlp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJPadBrAAoJEPo9qoy8lh71nDIQAJYs44hFjPrcY0MY3i/3JqDZ bKWr7+T6e+2k7krpmP4hNfo+vFN3+G8Eo4f3TW+I210vVR0xisA5aqspEV27IYnq D1GfFTj37187VG6aROrm4X0rrz6JE62ykTLU2Yg5qI/dzQt2f9oRMj3zFLs4a/p3 geT1Fh4eI1XgyfWO+bxwTDQWLuKlL2wJmQXsQAPy/fAzQ90sTbxJEYMOdp2BO2aB aP+NDX3M+P6My8Dy3kXepAxuZ8znEwP8xW85KFjlJauGh7MvKdpVhB2mQgcBqPEQ 2JIWz8mmZ3JqB3di5Mlm4NV/Nl6EDJE3PsH9sdWjMe+3ki7GcF7NJBr4RDRrjBEg 2DCB8asLDiK5RRHKq73LjpC0p0dhpn3v0+sIKvzIqUQkuHxLL7LPfKYQQ2zv1IeZ HforkXbpNkmQznenP1QcFmGVOq9yWaRUFckiOpnoKedIc78SqGOeYV86XfdWGDMb AbX2/WaajvgU1i/qHuq+yt5Wf4fJYiwqjm8HAwyHHg3jM06KvN5kRTg5D1qd2a7i VuHV+2YQYVvWfvuTvzkTUc93s99Sbfi2LEzJVDzr9lom2hVDKAuYt/9ATOVJOrmo OsxDo8DRzGYxiNk8WwOOaFDtv4K1fX+1pxknLnym0PSHl+DtSDkBDstaLQaQqhbd 1sNkut+TW4a3SQyvaDAP =HPGL -----END PGP SIGNATURE----- --=-N5pugJoh3/hsZzAyTOlp--