]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915/tv: Remember the detected TV type
authorMathew McKernan <matmckernan@rauland.com.au>
Tue, 12 Apr 2011 05:51:37 +0000 (06:51 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 May 2011 16:19:37 +0000 (09:19 -0700)
commit60edc65d5d2c1b61d20f28b70b3ac5140dc82f6a
tree5729b373f28e882c11c10a89314c473c80b59a2b
parent72846ac3462c7d2bebc25c9a4d3e8f5739c5fb66
drm/i915/tv: Remember the detected TV type

commit d5627663f2088fa4be447fdcfd52bcb233448d85 upstream.

During detect() we would probe the connection bits to determine if
there was a TV attached, and what video input type (Component, S-Video,
Composite, etc) to use. However, we promptly discarded this vital bit of
information and never propagated it to where it was used to determine
the correct modes and setup the control registers. Fix it!

This fixes a regression from 7b334fcb45b757ffb093696ca3de1b0c8b4a33f1.

Reported-and-tested-by: Mathew McKernan <matmckernan@rauland.com.au>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35977
Signed-off-by: Mathew McKernan <matmckernan@rauland.com.au>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_tv.c