OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d51bc8
)
drm/nouveau/gr/gf100-: remove some unnecessary reg writes
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 12 Feb 2019 12:28:13 +0000
(22:28 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 19 Feb 2019 23:00:00 +0000
(09:00 +1000)
This is already done during golden context creation.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
index
47469f4
..
5ab6468
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
@@
-1684,12
+1684,7
@@
gf100_gr_init_ctxctl_ext(struct gf100_gr *gr)
return ret;
}
- if (device->chipset >= 0xe0) {
- nvkm_wr32(device, 0x409614, 0x00000070);
- nvkm_wr32(device, 0x409614, 0x00000770);
- nvkm_wr32(device, 0x40802c, 0x00000001);
- }
-
+ /* Generate golden context image. */
if (gr->data == NULL) {
int ret = gf100_grctx_generate(gr);
if (ret) {