drm/i915: make caching operate on all address spaces
authorBen Widawsky <ben@bwidawsk.net>
Thu, 1 Aug 2013 00:00:03 +0000 (17:00 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 Aug 2013 17:04:12 +0000 (19:04 +0200)
commit3089c6f239d7d2c4cb2dd5c353e8984cf79af1d7
tree7460904972fb4633e217c8c4ecd6347b802e5975
parent28d6a7bfa2560cb94727a68511ed68561e84dcc8
drm/i915: make caching operate on all address spaces

For now, objects will maintain the same cache levels amongst all address
spaces. This is to limit the risk of bugs, as playing with cacheability
in the different domains can be very error prone.

In the future, it may be optimal to allow setting domains per VMA (ie.
an object bound into an address space).

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c