]> git.baikalelectronics.ru Git - kernel.git/commit
agp/intel: map more registers for use by the GTT code
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 28 Mar 2012 20:39:33 +0000 (13:39 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Mar 2012 22:02:25 +0000 (00:02 +0200)
commit1e41ce8f39c1a571df1e817750099a2b2e12ee1e
tree67d587028223587f89ab78f5f098a033d4cf482c
parentd5b400de08e681ae7c4aab8cb94ac2be815f84a2
agp/intel: map more registers for use by the GTT code

We need to flush the Gunit TLB when we update GTT PTEs on VLV, but the
register for doing so is above the range we normally map.  Map the whole
register space to make sure we can get it.

v2: only map the larger space on gen7+ (Daniel)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/char/agp/intel-gtt.c