]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/i915: fix pipe DDI mode select
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 8 Aug 2012 17:15:27 +0000 (14:15 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Aug 2012 16:36:04 +0000 (18:36 +0200)
commit3f7c447faab3e750b0b2f94edad605ba8eb28a7f
tree5f6238ef1ad6c5368ee368c02d9c8b09b988310b
parentc96ea64ebbbe911becccb20dea1609017caad3c9
drm/i915: fix pipe DDI mode select

Mask the value before changing it and also select DVI when needed.

DVI was working in cases where the BIOS was setting the correct value
because we were not masking the value before changing it.

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