drm/msm: add MSM_BO_CACHED_COHERENT
[linux-2.6-microblaze.git] / drivers / gpu / drm / msm / adreno / adreno_device.c
index 600d445..b3337b9 100644 (file)
@@ -466,6 +466,7 @@ static int adreno_bind(struct device *dev, struct device *master, void *data)
                config.rev.minor, config.rev.patchid);
 
        priv->is_a2xx = config.rev.core == 2;
+       priv->has_cached_coherent = config.rev.core >= 6;
 
        gpu = info->init(drm);
        if (IS_ERR(gpu)) {