]> git.baikalelectronics.ru Git - kernel.git/commit
agp/intel: Flush the chipset write buffers when changing GTT base
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Dec 2010 10:40:38 +0000 (10:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 20:35:41 +0000 (20:35 +0000)
commit73e94cc3967085fb70b41bf02bb7508903b70267
tree019ab7330af6c975ffba0d7016e0ed6243fbf6b0
parentd0aad2bd293aed4bb20b34a9563a6e207d156d42
agp/intel: Flush the chipset write buffers when changing GTT base

Flush the chipset write buffers before and after adjusting the GTT base
register, just in case. We only modify this value upon initialisation
(boot and resume) so there should be no outstanding writes, however
there are always those persistent PGTBL_ER that keep getting reported
upon resume.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/char/agp/intel-agp.h
drivers/char/agp/intel-gtt.c