diff options
author | Dave Airlie <airlied@redhat.com> | 2012-11-22 13:20:45 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-22 13:21:01 +1000 |
commit | da6004b8d02f79b893d425d11400ccad2b7c2efd (patch) | |
tree | a00eed33115598e29a47e43cd54950e5c41a7ef0 | |
parent | 776d1e38c5934ba4d2e300fe4208602babae4c1d (diff) | |
parent | ace5a9b8dbc66ada0aa8c5f67b93527590822c7c (diff) | |
download | op-kernel-dev-da6004b8d02f79b893d425d11400ccad2b7c2efd.zip op-kernel-dev-da6004b8d02f79b893d425d11400ccad2b7c2efd.tar.gz |
Merge branch 'drm-nouveau-fixes' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-fixes
nouveau: one more regression fix.
* 'drm-nouveau-fixes' of git://anongit.freedesktop.org/git/nouveau/linux-2.6:
drm/nouveau: use the correct fence implementation for nv50
-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 0910125..8503b2e 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -129,7 +129,8 @@ nouveau_accel_init(struct nouveau_drm *drm) /* initialise synchronisation routines */ if (device->card_type < NV_10) ret = nv04_fence_create(drm); - else if (device->chipset < 0x84) ret = nv10_fence_create(drm); + else if (device->card_type < NV_50) ret = nv10_fence_create(drm); + else if (device->chipset < 0x84) ret = nv50_fence_create(drm); else if (device->card_type < NV_C0) ret = nv84_fence_create(drm); else ret = nvc0_fence_create(drm); if (ret) { |