projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/msm: add MSM_BO_CACHED_COHERENT
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
msm
/
adreno
/
adreno_device.c
diff --git
a/drivers/gpu/drm/msm/adreno/adreno_device.c
b/drivers/gpu/drm/msm/adreno/adreno_device.c
index
600d445
..
b3337b9
100644
(file)
--- a/
drivers/gpu/drm/msm/adreno/adreno_device.c
+++ b/
drivers/gpu/drm/msm/adreno/adreno_device.c
@@
-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)) {