projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30d8181
)
drm/nv50-nvc0: fix ramht entries for multiple evo channels
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 1 Feb 2011 00:41:01 +0000
(10:41 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 24 Feb 2011 20:44:48 +0000
(06:44 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_ramht.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_ramht.c
b/drivers/gpu/drm/nouveau/nouveau_ramht.c
index bef3e691041863a0523f0b7ba7aa2ea1626af760..a24a81f5a89e40719067806281ff63b3da02fba2 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_ramht.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_ramht.c
@@
-114,7
+114,9
@@
nouveau_ramht_insert(struct nouveau_channel *chan, u32 handle,
(gpuobj->engine << NV40_RAMHT_CONTEXT_ENGINE_SHIFT);
} else {
if (gpuobj->engine == NVOBJ_ENGINE_DISPLAY) {
- ctx = (gpuobj->cinst << 10) | chan->id;
+ ctx = (gpuobj->cinst << 10) |
+ (chan->id << 28) |
+ chan->id; /* HASH_TAG */
} else {
ctx = (gpuobj->cinst >> 4) |
((gpuobj->engine <<