aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvc0_graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_graph.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvc0_graph.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_graph.c b/drivers/gpu/drm/nouveau/nvc0_graph.c
index 8ee3963f903..9066102d115 100644
--- a/drivers/gpu/drm/nouveau/nvc0_graph.c
+++ b/drivers/gpu/drm/nouveau/nvc0_graph.c
@@ -333,14 +333,6 @@ nvc0_graph_fini(struct drm_device *dev, int engine, bool suspend)
333 return 0; 333 return 0;
334} 334}
335 335
336static int
337nvc0_graph_mthd_page_flip(struct nouveau_channel *chan,
338 u32 class, u32 mthd, u32 data)
339{
340 nouveau_finish_page_flip(chan, NULL);
341 return 0;
342}
343
344static void 336static void
345nvc0_graph_init_obj418880(struct drm_device *dev) 337nvc0_graph_init_obj418880(struct drm_device *dev)
346{ 338{
@@ -889,7 +881,6 @@ nvc0_graph_create(struct drm_device *dev)
889 881
890 NVOBJ_CLASS(dev, 0x902d, GR); /* 2D */ 882 NVOBJ_CLASS(dev, 0x902d, GR); /* 2D */
891 NVOBJ_CLASS(dev, 0x9039, GR); /* M2MF */ 883 NVOBJ_CLASS(dev, 0x9039, GR); /* M2MF */
892 NVOBJ_MTHD (dev, 0x9039, 0x0500, nvc0_graph_mthd_page_flip);
893 NVOBJ_CLASS(dev, 0x9097, GR); /* 3D */ 884 NVOBJ_CLASS(dev, 0x9097, GR); /* 3D */
894 if (fermi >= 0x9197) 885 if (fermi >= 0x9197)
895 NVOBJ_CLASS(dev, 0x9197, GR); /* 3D (NVC1-) */ 886 NVOBJ_CLASS(dev, 0x9197, GR); /* 3D (NVC1-) */