diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-10-20 17:35:40 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-12-03 00:11:12 -0500 |
commit | 332b242f47786d1a43bd7a19a0513dd5d493db8e (patch) | |
tree | f6681c1513c58db54f71c64184ebc033a14c49fe /drivers/gpu/drm/nouveau/nv10_graph.c | |
parent | 042206c0cd4924879c4292c5ffa2bf1e8023ae5a (diff) |
drm/nouveau: Implement the pageflip ioctl.
nv0x-nv4x should be mostly fine, nv50 doesn't work yet.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv10_graph.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv10_graph.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv10_graph.c b/drivers/gpu/drm/nouveau/nv10_graph.c index a571bfd4471b..3fbb49dfc09c 100644 --- a/drivers/gpu/drm/nouveau/nv10_graph.c +++ b/drivers/gpu/drm/nouveau/nv10_graph.c | |||
@@ -1113,6 +1113,10 @@ nv10_graph_register(struct drm_device *dev) | |||
1113 | NVOBJ_MTHD (dev, 0x0099, 0x1658, nv17_graph_mthd_lma_enable); | 1113 | NVOBJ_MTHD (dev, 0x0099, 0x1658, nv17_graph_mthd_lma_enable); |
1114 | } | 1114 | } |
1115 | 1115 | ||
1116 | /* nvsw */ | ||
1117 | NVOBJ_CLASS(dev, 0x506e, SW); | ||
1118 | NVOBJ_MTHD (dev, 0x506e, 0x0500, nv04_graph_mthd_page_flip); | ||
1119 | |||
1116 | dev_priv->engine.graph.registered = true; | 1120 | dev_priv->engine.graph.registered = true; |
1117 | return 0; | 1121 | return 0; |
1118 | } | 1122 | } |