]> git.karo-electronics.de Git - linux-beck.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)
commit59df7b1771c150163e522f33c638096ab0efbf42
tree4109cb8f5934d87bf7f875a9f9f0cbb901d41c42
parent4966b2a9351500cf36f424dfe7a683036fce5622
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