projects
/
GitHub
/
LineageOS
/
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:
3738365
)
drm/nv04: Fix NV04 set_operation software method.
author
Marcin Kościelnicki
<koriakin@0x04.net>
Mon, 14 Dec 2009 20:38:17 +0000
(20:38 +0000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 16 Dec 2009 07:05:13 +0000
(17:05 +1000)
Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv04_graph.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv04_graph.c
b/drivers/gpu/drm/nouveau/nv04_graph.c
index 396ee92118f6e9605edb2d73961a626960b45e0c..d561d773c0f4e2d41a4a7473ac34b5a8408f0e40 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv04_graph.c
+++ b/
drivers/gpu/drm/nouveau/nv04_graph.c
@@
-543,7
+543,7
@@
nv04_graph_mthd_set_operation(struct nouveau_channel *chan, int grclass,
nv_wi32(dev, instance, tmp);
nv_wr32(dev, NV04_PGRAPH_CTX_SWITCH1, tmp);
- nv_wr32(dev, NV04_PGRAPH_CTX_CACHE1 +
subc
, tmp);
+ nv_wr32(dev, NV04_PGRAPH_CTX_CACHE1 +
(subc<<2)
, tmp);
return 0;
}