]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Initialize PCH refclks at modeset init time
authorKeith Packard <keithp@keithp.com>
Tue, 27 Sep 2011 05:24:57 +0000 (22:24 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 28 Sep 2011 21:08:38 +0000 (14:08 -0700)
commitc67d964c58625b844082f536ef46d4cce31e9654
treeb4171d88d0d535f178ca33787556246c502f7c90
parent9cbd3be5ad3b0b214a5500f1d0398a903bba0b7b
drm/i915: Initialize PCH refclks at modeset init time

The reference clock configuration must be done before any mode setting
can occur as all outputs must be disabled to change
anything. Initialize the clocks after turning everything off during
the initialization process.

Also, re-initialize the refclk at resume time.

Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c