aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_fbcon.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-04-01 21:09:13 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-05-24 16:31:49 +1000
commit6d597027755b2eed4298b85ebe3cb5c93b29d1a9 (patch)
tree827e189534f285c2bbf4c96e627685d27937b4db /drivers/gpu/drm/nouveau/nouveau_fbcon.c
parentdrm/nouveau/bios: allow loading alternate vbios image as firmware (diff)
downloadlinux-dev-6d597027755b2eed4298b85ebe3cb5c93b29d1a9.tar.xz
linux-dev-6d597027755b2eed4298b85ebe3cb5c93b29d1a9.zip
drm/nouveau: use the same packet header macros as userspace
Cosmetic cleanup only. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_fbcon.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_fbcon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.c b/drivers/gpu/drm/nouveau/nouveau_fbcon.c
index 8113e9201ed9..bce2e73b9ebd 100644
--- a/drivers/gpu/drm/nouveau/nouveau_fbcon.c
+++ b/drivers/gpu/drm/nouveau/nouveau_fbcon.c
@@ -171,14 +171,14 @@ nouveau_fbcon_sync(struct fb_info *info)
}
if (dev_priv->card_type >= NV_C0) {
- BEGIN_NVC0(chan, 2, NvSub2D, 0x010c, 1);
+ BEGIN_NVC0(chan, NvSub2D, 0x010c, 1);
OUT_RING (chan, 0);
- BEGIN_NVC0(chan, 2, NvSub2D, 0x0100, 1);
+ BEGIN_NVC0(chan, NvSub2D, 0x0100, 1);
OUT_RING (chan, 0);
} else {
- BEGIN_RING(chan, 0, 0x0104, 1);
+ BEGIN_NV04(chan, 0, 0x0104, 1);
OUT_RING (chan, 0);
- BEGIN_RING(chan, 0, 0x0100, 1);
+ BEGIN_NV04(chan, 0, 0x0100, 1);
OUT_RING (chan, 0);
}