From 6d597027755b2eed4298b85ebe3cb5c93b29d1a9 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sun, 1 Apr 2012 21:09:13 +1000 Subject: drm/nouveau: use the same packet header macros as userspace Cosmetic cleanup only. Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/gpu/drm/nouveau/nouveau_fbcon.c') 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); } -- cgit v1.2.1