diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-11-26 22:26:00 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-01-22 22:38:48 -0500 |
commit | dd95c8f782a053db361855298778a7d31de04a48 (patch) | |
tree | 41df558d2ae972f25c30630e9291c9f956906e71 | |
parent | 0a0dc8f564ab116e5b59b60ca568276f1fed59a3 (diff) |
drm/nve0/fb: typo in register name
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c index d327dac58506..c7d2fee947cd 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c | |||
@@ -117,7 +117,7 @@ struct nve0_ramfuc { | |||
117 | struct ramfuc_reg r_0x10f65c; | 117 | struct ramfuc_reg r_0x10f65c; |
118 | struct ramfuc_reg r_0x10f6bc; | 118 | struct ramfuc_reg r_0x10f6bc; |
119 | struct ramfuc_reg r_0x100710; | 119 | struct ramfuc_reg r_0x100710; |
120 | struct ramfuc_reg r_0x10f750; | 120 | struct ramfuc_reg r_0x100750; |
121 | }; | 121 | }; |
122 | 122 | ||
123 | struct nve0_ram { | 123 | struct nve0_ram { |
@@ -484,8 +484,8 @@ nve0_ram_calc_gddr5(struct nouveau_fb *pfb, u32 freq) | |||
484 | data = nv_ro08(bios, ramcfg + 0x02) & 0x03; | 484 | data = nv_ro08(bios, ramcfg + 0x02) & 0x03; |
485 | if (nv_ro08(bios, ramcfg + 0x01) & 0x10) | 485 | if (nv_ro08(bios, ramcfg + 0x01) & 0x10) |
486 | data |= 0x00000004; | 486 | data |= 0x00000004; |
487 | if ((nv_rd32(bios, 0x100770) & 0x00000004) != (data & 0x00000004)) { | 487 | if ((ram_rd32(fuc, 0x100770) & 0x00000004) != (data & 0x00000004)) { |
488 | ram_wr32(fuc, 0x10f750, 0x04000009); | 488 | ram_wr32(fuc, 0x100750, 0x04000009); |
489 | ram_wr32(fuc, 0x100710, 0x00000000); | 489 | ram_wr32(fuc, 0x100710, 0x00000000); |
490 | ram_wait(fuc, 0x100710, 0x80000000, 0x80000000, 200000); | 490 | ram_wait(fuc, 0x100710, 0x80000000, 0x80000000, 200000); |
491 | } | 491 | } |
@@ -1240,7 +1240,7 @@ nve0_ram_ctor(struct nouveau_object *parent, struct nouveau_object *engine, | |||
1240 | ram->fuc.r_0x10f65c = ramfuc_reg(0x10f65c); | 1240 | ram->fuc.r_0x10f65c = ramfuc_reg(0x10f65c); |
1241 | ram->fuc.r_0x10f6bc = ramfuc_reg(0x10f6bc); | 1241 | ram->fuc.r_0x10f6bc = ramfuc_reg(0x10f6bc); |
1242 | ram->fuc.r_0x100710 = ramfuc_reg(0x100710); | 1242 | ram->fuc.r_0x100710 = ramfuc_reg(0x100710); |
1243 | ram->fuc.r_0x10f750 = ramfuc_reg(0x10f750); | 1243 | ram->fuc.r_0x100750 = ramfuc_reg(0x100750); |
1244 | return 0; | 1244 | return 0; |
1245 | } | 1245 | } |
1246 | 1246 | ||