drm/i915: correctly set the DDI_FUNC_CTL bpc field
commitdfcef252e024b4ca6fe5be9e1d656ac1929ce894
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 8 Aug 2012 17:15:29 +0000 (8 14:15 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Aug 2012 16:41:14 +0000 (9 18:41 +0200)
treeb37f47268987b7c3e5f10391cee44b1a812b046f
parentf63eb7c4528060e54688baafb7a499e9391eefe6
drm/i915: correctly set the DDI_FUNC_CTL bpc field

Correctly erase the values previously set and also check for 6bpc and
10bpc.

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/i915_reg.h
drivers/gpu/drm/i915/intel_ddi.c