]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: correctly set the DDI_FUNC_CTL bpc field
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 8 Aug 2012 17:15:29 +0000 (14:15 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Aug 2012 16:41:14 +0000 (18:41 +0200)
commit299555ab7e977a4a128f12a3e7c3f33730ebd41f
treeb37f47268987b7c3e5f10391cee44b1a812b046f
parent2f584cbb618a94438e212169e4da0ee030b24d20
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