]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
i915: Fix up ring initialization to cover G45 oddities
authorKeith Packard <keithp@keithp.com>
Wed, 15 Oct 2008 00:20:35 +0000 (17:20 -0700)
committerDave Airlie <airlied@linux.ie>
Fri, 17 Oct 2008 21:10:53 +0000 (07:10 +1000)
commit50aa253d820ad4577e2231202f2c8fd89f9dc4e6
tree2357e6f184456b44a9c38f57d5f2f16345219ba5
parent0cdad7e88a23910a911a3339ff2d70f8f952d7b8
i915: Fix up ring initialization to cover G45 oddities

G45 appears quite sensitive to ring initialization register writes,
sometimes leaving the HEAD register with the START register contents. Check
to make sure HEAD is reset correctly when START is written, and fix it up,
screaming loudly.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem.c