]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add support for VGA load detection (pre-945).
authorMa Ling <ling.ma@intel.com>
Tue, 26 May 2009 03:31:00 +0000 (11:31 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 26 May 2009 17:34:47 +0000 (10:34 -0700)
commit6e88936cea6f5e5e75355feca4088e9ac7060f72
treed9b993eac81a8667cc1591f16ba884e1fd549a07
parent3d9d05e3368f0353c6c97f1453116d49946d399b
drm/i915: Add support for VGA load detection (pre-945).

Two approaches for VGA detections: hot plug detection for 945G onwards
and load pipe detection for Pre-945G.  Load pipe detection will get one free
pipe, set border color as red and blue, then check CRT status by
swf register.  This is a sync-up with the 2D driver.

Signed-off-by: Ma Ling <ling.ma@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_crt.c