drm/i915: initialize fence registers to zero when loading GEM
authorGrégoire Henry <Gregoire.Henry@pps.jussieu.fr>
Tue, 23 Jun 2009 13:41:02 +0000 (15:41 +0200)
committerEric Anholt <eric@anholt.net>
Tue, 23 Jun 2009 16:22:11 +0000 (09:22 -0700)
commitb5aa8a0fc132dd512c33e7c2621d075e3b77a65e
treece36025b5f62c2eb6bef4e45d18c23a89edfd895
parent56d21b07d44e0a33ab846f4f08e9e33bd87e5d4b
drm/i915: initialize fence registers to zero when loading GEM

Unitialized fence register could leads to corrupted display. Problem
encountered on MacBooks (revision 1 and 2), directly booting from EFI
or through BIOS emulation.

(bug #21710 at freedestop.org)

Signed-off-by: Grégoire Henry <henry@pps.jussieu.fr>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c