Re: [Intel-gfx] [PATCH] sna: check for LLC support

2012-01-17 Thread Chris Wilson
On Tue, 17 Jan 2012 16:16:37 -0200, Eugeni Dodonov wrote: > Instead of checking for CPU generation, use the libdrm-provided > I915_PARAM_HAS_LLC instead. > > v2: use a define check to verify if we have I915_PARAM_HAS_LLC. > > Signed-off-by: Eugeni Dodonov I attacked it slightly so that gem_pa

Re: [Intel-gfx] [PATCH] sna: check for LLC support

2012-01-17 Thread Daniel Vetter
On Tue, Jan 17, 2012 at 04:16:37PM -0200, Eugeni Dodonov wrote: > Instead of checking for CPU generation, use the libdrm-provided > I915_PARAM_HAS_LLC instead. > > v2: use a define check to verify if we have I915_PARAM_HAS_LLC. > > Signed-off-by: Eugeni Dodonov > --- > src/sna/kgem.c | 12 +++