]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc420a143ec9201cc382ad22c2e2548c0d02636d7
tree7460904972fb4633e217c8c4ecd6347b802e5975
parent67190e82123efcdf126c0f504c5f179b4dabde3a
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