drm: Missed clflushopt in drm_clflush_virt_range
authorRoss Zwisler <[email protected]>
Wed, 14 May 2014 15:41:12 +0000 (09:41 -0600)
committerDaniel Vetter <[email protected]>
Mon, 2 Jun 2014 07:57:31 +0000 (09:57 +0200)
commit7927096868061ff10fdb33b295dc0bcfebe2b35b
treeca0bd78b1451197231ef31edee8f585b19743029
parent233fd4ec92b90a2d3bb5104d17835072ba2fde4b
drm: Missed clflushopt in drm_clflush_virt_range

With this commit:

2a0788dc9bc4 x86: Use clflushopt in drm_clflush_virt_range

If clflushopt is available on the system, we use it instead of clflush
in drm_clflush_virt_range.  There were two calls to clflush in this
function, but only one was changed to clflushopt.  This patch changes
the other clflush call to clflushopt.

Signed-off-by: Ross Zwisler <[email protected]>
Reported-by: Matthew Wilcox <[email protected]>
Cc: David Airlie <[email protected]>
Cc: [email protected]
Cc: H Peter Anvin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/drm_cache.c