drm/i915/bdw: Add WT caching ability
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 18 Apr 2014 21:04:27 +0000 (18:04 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 07:09:22 +0000 (09:09 +0200)
commit63c42e56e2039619c6a86785829efed8f12b1bd8
treebfdfaf51a1e2fd6a0e1a2b2e25f5c3b8f62c24d2
parentf033579f7759bfb34c082aacbd19a830f1e587cc
drm/i915/bdw: Add WT caching ability

I don't have any insight on what parts can do what. The docs do seem to
suggest WT caching works in at least the same manner as it does on
Haswell.

The addr = 0  is to shut up GCC:
drivers/gpu/drm/i915/i915_gem_gtt.c:80:7: warning: 'addr' may be used
uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Reviewed-by: Brad Volkin <bradley.d.volkin@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_gtt.c