drm/i915: Mask out hardware status bits from VLV DPLL register
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Jun 2013 14:44:15 +0000 (17:44 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 09:27:55 +0000 (11:27 +0200)
commit165e901caa4c9d768dd572aab6b95f89a2e9e204
treed53a79b467cba64e2228e12f25c42a0404bcd3fb
parentf6736a1a7b846d0af90135c7a7f121ab3ada9ee1
drm/i915: Mask out hardware status bits from VLV DPLL register

The DPLL lock bit, and the DPIO phy status bits are read-only and
controlled by the hardware, so they will never be set by the driver.
Mask them out when reading the hw state, so that the state
comparison won't fail.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuosugeek.org>
[danvet: Jesse asked for a code comment and I wholeheartly agree, so
added one.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
This page took 0.025019 seconds and 5 git commands to generate.