OSDN Git Service

anv: Pull all clflushing into a clflush_range helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 20 Feb 2017 18:37:34 +0000 (10:37 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 21 Feb 2017 20:26:35 +0000 (12:26 -0800)
commitf408971deb7821cc140f1d373a104c2e1cb24eeb
treebde0c4fe60303bf35b580a3835e9bc4ae1bd7b9c
parent16b187c8bb5ed10c667326346711c89ff7420ab2
anv: Pull all clflushing into a clflush_range helper

All this cache line address calculation stuff is tricky.  Let's not
duplicate it more places than we have to.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h