Re: [Intel-gfx] [PATCH 05/16] drm/i915/tv: Use a direct pointer for tv_mode

2011-05-12 Thread Keith Packard
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 t

[Intel-gfx] [PATCH 05/16] drm/i915/tv: Use a direct pointer for tv_mode

2011-05-12 Thread Chris Wilson
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: Ch