drm/i915: fix to setup display reference clock control on Ironlake
authorZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 19 Oct 2009 07:43:48 +0000 (15:43 +0800)
committerEric Anholt <eric@anholt.net>
Mon, 19 Oct 2009 18:03:37 +0000 (11:03 -0700)
commitc038e51e841581cc3fb9a76e5e16331331e9c85c
tree4bdf6e3aa2eb8f3b97c99c906ec14804b92f90bb
parent0d9c778978ff268228c095ae737c282c03a5986d
drm/i915: fix to setup display reference clock control on Ironlake

For new stepping of PCH, the display reference clock
is fully under driver's control. This one trys to setup
all needed reference clock for different outputs. Older
stepping of PCH chipset should be ignoring this.

This fixes output failure issue on newer PCH which requires
driver to take control of reference clock enabling.

Cc: Stable Team <stable@kernel.org>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c