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 /drivers/gpu | |
parent | 776d1e38c5934ba4d2e300fe4208602babae4c1d (diff) | |
parent | ace5a9b8dbc66ada0aa8c5f67b93527590822c7c (diff) | |
download | linux-da6004b8d02f79b893d425d11400ccad2b7c2efd.tar.gz linux-da6004b8d02f79b893d425d11400ccad2b7c2efd.tar.bz2 linux-da6004b8d02f79b893d425d11400ccad2b7c2efd.zip |
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
Diffstat (limited to 'drivers/gpu')
-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 0910125cbbc3..8503b2ea570a 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) { |