]> git.karo-electronics.de Git - linux-beck.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)
commite4a5d54f924ea5ce2913d9d0687d034004816465
treed9b993eac81a8667cc1591f16ba884e1fd549a07
parent619ac3b75a1e9b2df66857f6a0fb466f1da5fa9e
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