drm/i915: completely reset the value of DDI_FUNC_CTL
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 8 Aug 2012 17:15:30 +0000 (14:15 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Aug 2012 16:41:25 +0000 (18:41 +0200)
commit602c43d34dcd46b0349b31c9b53b19cd5063ae3f
tree41d61c5a722099f327ad39dece9ba2c5df67ef4a
parentdfcef252e024b4ca6fe5be9e1d656ac1929ce894
drm/i915: completely reset the value of DDI_FUNC_CTL

Don't rely on previous values already set on the register. Everything
we're not explicitly setting should be zero for now.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c