agp/intel: Fix cache control for Sandybridge
authorZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 27 Aug 2010 03:08:57 +0000 (11:08 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Sep 2010 10:16:43 +0000 (11:16 +0100)
Sandybridge GTT has new cache control bits in PTE, which controls
graphics page cache in LLC or LLC/MLC, so we need to extend the mask
function to respect the new bits.

And set cache control to always LLC only by default on Gen6.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

No differences found