]> 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)
committerEric Anholt <eric@anholt.net>
Fri, 27 Mar 2009 22:12:07 +0000 (15:12 -0700)
commitad086c833d00ef3be56ec554b1061f19e87a6210
treeccbb4138abf7dba94c8debf871eae7a56b4347cc
parenta6172a80ecb7ac64151960de1f709f78b509c57c
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>
drivers/gpu/drm/i915/i915_gem.c