Re: [PATCH] drm: Missed clflushopt in drm_clflush_virt_range

2014-05-15 Thread Daniel Vetter
On Thu, May 15, 2014 at 07:37:32AM -0700, H. Peter Anvin wrote: > On 05/15/2014 05:38 AM, Daniel Vetter wrote: > > On Wed, May 14, 2014 at 09:41:12AM -0600, Ross Zwisler wrote: > >> With this commit: > >> > >> 2a0788dc9bc4 x86: Use clflushopt in drm_clflush_virt_range > >> > >> If clflushopt is ava

Re: [PATCH] drm: Missed clflushopt in drm_clflush_virt_range

2014-05-15 Thread H. Peter Anvin
On 05/15/2014 05:38 AM, Daniel Vetter wrote: > On Wed, May 14, 2014 at 09:41:12AM -0600, Ross Zwisler wrote: >> 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_rang

Re: [PATCH] drm: Missed clflushopt in drm_clflush_virt_range

2014-05-15 Thread Daniel Vetter
On Wed, May 14, 2014 at 09:41:12AM -0600, Ross Zwisler wrote: > 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 > funct

[PATCH] drm: Missed clflushopt in drm_clflush_virt_range

2014-05-14 Thread Ross Zwisler
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 c