projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc16208
)
drm/nouveau/bios/init: fix thinko in INIT_CONFIGURE_MEM
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 17 Sep 2013 00:20:31 +0000
(10:20 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 17 Sep 2013 14:16:29 +0000
(
00:16
+1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/bios/init.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/subdev/bios/init.c
b/drivers/gpu/drm/nouveau/core/subdev/bios/init.c
index
cede3d6
..
57cda2a
100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/subdev/bios/init.c
+++ b/
drivers/gpu/drm/nouveau/core/subdev/bios/init.c
@@
-1451,7
+1451,7
@@
init_configure_mem(struct nvbios_init *init)
data = init_rdvgai(init, 0x03c4, 0x01);
init_wrvgai(init, 0x03c4, 0x01, data | 0x20);
-
while ((addr = nv_ro32(bios, sdata)) != 0xffffffff
) {
+
for (; (addr = nv_ro32(bios, sdata)) != 0xffffffff; sdata += 4
) {
switch (addr) {
case 0x10021c: /* CKE_NORMAL */
case 0x1002d0: /* CMD_REFRESH */