mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-19 16:09:20 +07:00
drm/nouveau/bios: tiny debugging messages fixes
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 <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
950fbfab42
commit
bfd8bd1f81
@ -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, dreg);
|
||||
trace("COPY_ZM_REG\tR[0x%06x] = R[0x%06x]\n", dreg, sreg);
|
||||
init->offset += 9;
|
||||
|
||||
init_wr32(init, dreg, init_rd32(init, sreg));
|
||||
|
Loading…
Reference in New Issue
Block a user