aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_fbcon.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-04-01 07:09:13 -0400
committerBen Skeggs <bskeggs@redhat.com>2012-05-24 02:31:49 -0400
commit6d597027755b2eed4298b85ebe3cb5c93b29d1a9 (patch)
tree827e189534f285c2bbf4c96e627685d27937b4db /drivers/gpu/drm/nouveau/nouveau_fbcon.c
parent78339fb75c21403677f61a02e1839b626a79325b (diff)
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)
171 } 171 }
172 172
173 if (dev_priv->card_type >= NV_C0) { 173 if (dev_priv->card_type >= NV_C0) {
174 BEGIN_NVC0(chan, 2, NvSub2D, 0x010c, 1); 174 BEGIN_NVC0(chan, NvSub2D, 0x010c, 1);
175 OUT_RING (chan, 0); 175 OUT_RING (chan, 0);
176 BEGIN_NVC0(chan, 2, NvSub2D, 0x0100, 1); 176 BEGIN_NVC0(chan, NvSub2D, 0x0100, 1);
177 OUT_RING (chan, 0); 177 OUT_RING (chan, 0);
178 } else { 178 } else {
179 BEGIN_RING(chan, 0, 0x0104, 1); 179 BEGIN_NV04(chan, 0, 0x0104, 1);
180 OUT_RING (chan, 0); 180 OUT_RING (chan, 0);
181 BEGIN_RING(chan, 0, 0x0100, 1); 181 BEGIN_NV04(chan, 0, 0x0100, 1);
182 OUT_RING (chan, 0); 182 OUT_RING (chan, 0);
183 } 183 }
184 184