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