]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915: Remove too early plane enable on pre-PCH hardware
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Apr 2012 15:36:50 +0000 (16:36 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:09 +0000 (11:18 +0200)
commitc7bd4c25650704d4d065eb4ce2a122d2a80ce804
tree9b8503e4129e557dd6fa9e6024ade25fb4773aac
parent7338aefa5cad08eb6794aa8e9a5853dedb990aa0
drm/i915: Remove too early plane enable on pre-PCH hardware

Enabling the plane before we have assigned valid address means that it
will access random PTE (often with conflicting memory types) and cause
GPU lockups. However, enabling the plane too early appears to workaround
a number of bugs in our modesetting code.

Cc: Franz Melchior <melchior.franz@gmail.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=39947
References: https://bugs.freedesktop.org/show_bug.cgi?id=41091
References: https://bugs.freedesktop.org/show_bug.cgi?id=49041
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c