diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drm.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drm.c | 3 |
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); |