summaryrefslogtreecommitdiff
path: root/fs/qnx4
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-06-10 15:58:01 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-06-19 17:25:17 +0200
commitafcd950cafea6e27b739fe7772cbbeed37d05b8b (patch)
tree523aeecbb69c5e5455b8f999dd76527b1e1d6b01 /fs/qnx4
parent2465ff6217f1b63e194cfd57018fa42abe7fcdf0 (diff)
drm: Avoid the double clflush on the last cache line in drm_clflush_virt_range()
As the clflush operates on cache lines, and we can flush any byte address, in order to flush all bytes given in the range we issue an extra clflush on the last byte to ensure the last cacheline is flushed. We can can the iteration to be over the actual cache lines to avoid this double clflush on the last byte. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Imre Deak <imre.deak@intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions