]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix DDI PLLs HW state readout code
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 8 Jan 2014 13:12:27 +0000 (11:12 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 8 Jan 2014 14:54:09 +0000 (15:54 +0100)
commitaff49fd2fe97a6aa1192de6ef2be33f7a7ccaf08
tree5a2ff3fa7740749b3f70fdce45a9aca655a214e1
parenta1d7f4f90b79db9eeccca5008e8b407466b92430
drm/i915: fix DDI PLLs HW state readout code

Properly zero the refcounts and crtc->ddi_pll_set so the previous HW
state doesn't affect the result of reading the current HW state.

This fixes WARNs about WRPLL refcount if we have an HDMI monitor on
HSW and then suspend/resume.

Cc: stable@vger.kernel.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64379
Tested-by: Qingshuai Tian <qingshuai.tian@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c