summaryrefslogtreecommitdiff
path: root/drm/nvc0_fbcon.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-10 04:10:23 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-10 04:43:30 +1000
commitd292e49c8ed37e05ca982253b4a00a89c6777580 (patch)
treefa001b4f546f6a77a1c6988f6233575ac24395db /drm/nvc0_fbcon.c
parent42474e46534736ec5c1c9cfafa99e29aa1f11571 (diff)
downloadnouveau-d292e49c8ed37e05ca982253b4a00a89c6777580.tar.gz
drm: remove (most) hardcoded object handle usage
The PFIFO<->EVO sync buffers will be fixed up later when inter-channel sync in general is improved. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nvc0_fbcon.c')
-rw-r--r--drm/nvc0_fbcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drm/nvc0_fbcon.c b/drm/nvc0_fbcon.c
index 93e7b697e..61246677e 100644
--- a/drm/nvc0_fbcon.c
+++ b/drm/nvc0_fbcon.c
@@ -156,7 +156,7 @@ nvc0_fbcon_accel_init(struct fb_info *info)
struct nouveau_channel *chan = drm->channel;
int ret, format;
- ret = nvif_object_init(chan->object, NULL, Nv2D, 0x902d, NULL, 0,
+ ret = nvif_object_init(chan->object, NULL, 0x902d, 0x902d, NULL, 0,
&nfbdev->twod);
if (ret)
return ret;
@@ -196,7 +196,7 @@ nvc0_fbcon_accel_init(struct fb_info *info)
}
BEGIN_NVC0(chan, NvSub2D, 0x0000, 1);
- OUT_RING (chan, 0x0000902d);
+ OUT_RING (chan, nfbdev->twod.handle);
BEGIN_NVC0(chan, NvSub2D, 0x0290, 1);
OUT_RING (chan, 0);
BEGIN_NVC0(chan, NvSub2D, 0x0888, 1);