[Intel-gfx] [PATCH 05/16] drm/i915/tv: Use a direct pointer for tv_mode
Keith Packard
keithp at keithp.com
Fri May 13 02:30:24 CEST 2011
On Thu, 12 May 2011 22:17:13 +0100, Chris Wilson <chris at 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 <chris at chris-wilson.co.uk>
> Cc: Mathew McKernan <matmckernan at 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 <keithp at keithp.com>
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110512/07d5bb24/attachment.sig>
More information about the Intel-gfx
mailing list