]> git.baikalelectronics.ru Git - kernel.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)
commitd01ae9b32b798a95bcedd42577206a693044fa4c
treeccbb4138abf7dba94c8debf871eae7a56b4347cc
parent0651371a048c70a0540665361a882499b8d837f0
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