drm/i915: Sync mode_valid/mode_set with intel video driver
authorZhao Yakui <yakui.zhao@intel.com>
Tue, 3 Mar 2009 10:06:42 +0000 (18:06 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 27 Mar 2009 22:12:10 +0000 (15:12 -0700)
commit6bcdcd9e3c09d133e3278edabebc314a2451b74a
tree775a5bed00a3c02c8d2d07284421bd9ddf4b1a5e
parentba01079c71559304771f9d741c9bbe8b2eac22a2
drm/i915: Sync mode_valid/mode_set with intel video driver

This covers:
Limit CRT DAC speed better.

and also clears the border color in case it's set to some garbage, which would
fix ugly outlines in the blank regions of the CRT.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
[anholt: replaced *drm_dev with *dev]
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_crt.c