]> git.baikalelectronics.ru Git - kernel.git/commit
drm: add helper to clflush a virtual address range
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 25 Mar 2012 17:47:30 +0000 (19:47 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Mar 2012 11:19:45 +0000 (13:19 +0200)
commit430db7a5a3ce3760f6e286e0d6f568dacd579672
tree8dbb4943c5bafc999421d395d8a1f656bbb35ca0
parentea49d16c28f085937d6e2ff123501d4afb9c5b5c
drm: add helper to clflush a virtual address range

Useful when the page is already mapped to copy date in/out.

For -stable because the next patch (fixing phys obj pwrite) needs this
little helper function.

Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_cache.c
include/drm/drmP.h