agp/intel: Fix cache control for Sandybridge
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>
Showing
- drivers/char/agp/intel-agp.c 1 addition, 0 deletionsdrivers/char/agp/intel-agp.c
- drivers/char/agp/intel-gtt.c 40 additions, 10 deletionsdrivers/char/agp/intel-gtt.c
- drivers/gpu/drm/i915/i915_gem.c 1 addition, 0 deletionsdrivers/gpu/drm/i915/i915_gem.c
- include/linux/intel-gtt.h 20 additions, 0 deletionsinclude/linux/intel-gtt.h
Loading
Please register or sign in to comment