drm/i915: Separate cherryview from valleyview
[linux-block.git] / drivers / gpu / drm / i915 / i915_gem_context.c
index 43761c5bcacadd33368c0de66d54cf94c2f5e361..4b1161dcb15c62ed6f02710fcfcda107d8f8333f 100644 (file)
@@ -190,7 +190,7 @@ i915_gem_alloc_context_obj(struct drm_device *dev, size_t size)
         * would make the object snooped which might have a
         * negative performance impact.
         */
-       if (INTEL_INFO(dev)->gen >= 7 && !IS_VALLEYVIEW(dev)) {
+       if (INTEL_INFO(dev)->gen >= 7 && !IS_VALLEYVIEW(dev) && !IS_CHERRYVIEW(dev)) {
                ret = i915_gem_object_set_cache_level(obj, I915_CACHE_L3_LLC);
                /* Failure shouldn't ever happen this early */
                if (WARN_ON(ret)) {