]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i915/drm: Remove two redundant agp_chipset_flushes
authorOwain G. Ainsworth <oga@openbsd.org>
Fri, 20 Feb 2009 08:30:19 +0000 (08:30 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Mar 2009 04:24:09 +0000 (14:24 +1000)
commit995e37cafb90f104395e015a9836cc459df1fc39
treed7ba979272c6a754b3153ce1aa37bc30ad58191a
parent87ba7c663af0f34aa603a5bb448783a5ed64573f
i915/drm: Remove two redundant agp_chipset_flushes

agp_chipset_flush() is for flushing the intel GMCH write cache via the
IFP, these two uses are for when we're getting the object into the cpu
READ domain, and thus should not be needed. This confused me when I was
getting my head around the code.

With thanks to airlied for helping me check my mental picture of how the
flushes and clflushes are supposed to be used.

Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem.c