]> git.baikalelectronics.ru Git - kernel.git/commit
drm/intel: Fix initialization if startup happens in interlaced mode [v2]
authorChristian Schmidt <schmidt@digadd.de>
Mon, 19 Dec 2011 19:03:33 +0000 (20:03 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Dec 2011 09:51:23 +0000 (09:51 +0000)
commitefa650518d8afdf8228171dbdf05f530d7d3cca0
tree4109cb8f5934d87bf7f875a9f9f0cbb901d41c42
parent097177f7a9f0a83c6b81167283ca32b9407ed79d
drm/intel: Fix initialization if startup happens in interlaced mode [v2]

My EFI BIOS starts the graphics card up in my projector's preferred EDID
mode, 1080@60i. The Intel driver does not clear all the interlaced bits.

This patch introduces a new PIPECONF_INTERLACE_MASK define and uses it
to restore progressive mode.

Signed-of-by: Christian Schmidt <schmidt@digadd.de>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c