On Thu, 12 May 2011 22:17:13 +0100, Chris Wilson <ch...@chris-wilson.co.uk> 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. > > Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> > Cc: Mathew McKernan <matmcker...@rauland.com.au>
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 <kei...@keithp.com> -- keith.pack...@intel.com
pgp0mLAXjByJB.pgp
Description: PGP signature
_______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx