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

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 17 19:44:58 CET 2012


On Tue, 17 Jan 2012 16:16:37 -0200, Eugeni Dodonov <eugeni.dodonov at intel.com> 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 <eugeni.dodonov at intel.com>

I attacked it slightly so that gem_param reported the lack of support so
that we could fallback to guessing by gen for GET_PARAM failure.
Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list