]> git.karo-electronics.de Git - linux-beck.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)
commit4b60d29ee00cb2114075e8b5c2c23928bbd76c28
tree67d587028223587f89ab78f5f098a033d4cf482c
parent90b107c8f7ea75ef55db4e0515dda86b245f8978
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