aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drm.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-02-13 21:59:36 -0500
committerBen Skeggs <bskeggs@redhat.com>2013-02-20 01:00:52 -0500
commit60e5cb79cbd27a36836fc04177d7c323ee873563 (patch)
tree31ee56acd841375f6fddbe3572d57916b00142b2 /drivers/gpu/drm/nouveau/nouveau_drm.c
parentbba9852feedf3d38f963278e07bdd3db622090b9 (diff)
drm/nv17/fence: split from nv10 code
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drm.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c
index ce91c8d43bb7..f9144910b78e 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drm.c
@@ -160,7 +160,8 @@ nouveau_accel_init(struct nouveau_drm *drm)
160 160
161 /* initialise synchronisation routines */ 161 /* initialise synchronisation routines */
162 if (device->card_type < NV_10) ret = nv04_fence_create(drm); 162 if (device->card_type < NV_10) ret = nv04_fence_create(drm);
163 else if (device->card_type < NV_50) ret = nv10_fence_create(drm); 163 else if (device->chipset < 0x17) ret = nv10_fence_create(drm);
164 else if (device->card_type < NV_50) ret = nv17_fence_create(drm);
164 else if (device->chipset < 0x84) ret = nv50_fence_create(drm); 165 else if (device->chipset < 0x84) ret = nv50_fence_create(drm);
165 else if (device->card_type < NV_C0) ret = nv84_fence_create(drm); 166 else if (device->card_type < NV_C0) ret = nv84_fence_create(drm);
166 else ret = nvc0_fence_create(drm); 167 else ret = nvc0_fence_create(drm);