Commit b897d2ee authored by Andrew Walrond's avatar Andrew Walrond Committed by Linus Torvalds

[PATCH] fbdev: Fix rivafb breakage (typo introduced by NV IO access cleanups)

Fix typo introduced during changes to use NV_ macros,
which caused screen corruption when using rivafb
Signed-off-by: default avatarAndrew Walrond <andrew@walrond.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a7f758e3
......@@ -1548,7 +1548,7 @@ static void LoadStateExt
NV_WR32(chip->PGRAPH, 0x0000085C, state->pitch3);
NV_WR32(chip->PGRAPH, 0x00000860, state->pitch3);
NV_WR32(chip->PGRAPH, 0x00000864, state->pitch3);
NV_WR32(chip->PGRAPH, 0x000009A, NV_RD32(chip->PFB, 0x00000200));
NV_WR32(chip->PGRAPH, 0x000009A4, NV_RD32(chip->PFB, 0x00000200));
NV_WR32(chip->PGRAPH, 0x000009A8, NV_RD32(chip->PFB, 0x00000204));
}
if(chip->twoHeads) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment