projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
950fbfa
)
drm/nouveau/bios: tiny debugging messages fixes
author
Marcin Slusarz
<
[email protected]
>
Sun, 30 Dec 2012 15:35:24 +0000
(16:35 +0100)
committer
Ben Skeggs
<
[email protected]
>
Wed, 20 Feb 2013 06:00:35 +0000
(16:00 +1000)
COPY_ZM_REG: destination and source addresses were swapped
RAM_RESTRICT_ZM_REG_GROUP: missing 0x prefix for register address
Signed-off-by: Marcin Slusarz <
[email protected]
>
Signed-off-by: Ben Skeggs <
[email protected]
>
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 c97c972edc62df64043cd2bfc6f6ccda874b716b..7d2ce11cf36aeb9edb94ff7ca48863abd8167a3f 100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/subdev/bios/init.c
+++ b/
drivers/gpu/drm/nouveau/core/subdev/bios/init.c
@@
-1816,7
+1816,7
@@
init_ram_restrict_zm_reg_group(struct nvbios_init *init)
u8 i, j;
trace("RAM_RESTRICT_ZM_REG_GROUP\t"
- "R[%08x] 0x%02x 0x%02x\n", addr, incr, num);
+ "R[
0x
%08x] 0x%02x 0x%02x\n", addr, incr, num);
init->offset += 7;
for (i = 0; i < num; i++) {
@@
-1849,7
+1849,7
@@
init_copy_zm_reg(struct nvbios_init *init)
u32 sreg = nv_ro32(bios, init->offset + 1);
u32 dreg = nv_ro32(bios, init->offset + 5);
- trace("COPY_ZM_REG\tR[0x%06x] = R[0x%06x]\n",
sreg, d
reg);
+ trace("COPY_ZM_REG\tR[0x%06x] = R[0x%06x]\n",
dreg, s
reg);
init->offset += 9;
init_wr32(init, dreg, init_rd32(init, sreg));