From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Packard Subject: Re: [PATCH 05/16] drm/i915/tv: Use a direct pointer for tv_mode Date: Thu, 12 May 2011 17:30:24 -0700 Message-ID: References: <1305235044-9159-1-git-send-email-chris@chris-wilson.co.uk> <1305235044-9159-6-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1969225110==" Return-path: Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id 49EBA9E74D for ; Thu, 12 May 2011 18:08:49 -0700 (PDT) In-Reply-To: <1305235044-9159-6-git-send-email-chris@chris-wilson.co.uk> 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: Chris Wilson Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1969225110== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 12 May 2011 22:17:13 +0100, Chris Wilson = wrote: > Instead of scanning through the static array using strcmp to find our > matching tv_mode, just keep a direct link around. The historical reason > for the strcmp was to match the connection property "tv format", but now > that property is translated for us into an index by the drm core. >=20 > Signed-off-by: Chris Wilson > Cc: Mathew McKernan Nice cleanup. Note that I cannot test this patch because TV out does not work on the 965GM or GM45 machines that I have. Reviewed-by: Keith Packard =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFNzHugQp8BWwlsTdMRAti2AJsEX9emJXexS8/mQferv6MmcTvhfQCfU8Jg gQDZ2tqUx3Cl2p65BjbthOY= =eF/Y -----END PGP SIGNATURE----- --=-=-=-- --===============1969225110== 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 --===============1969225110==--