Merge branch 'drm-nouveau-fixes' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-fixes

Ben says its just a single fix to avoid the wrong pcopy units being used.

* 'drm-nouveau-fixes' of git://anongit.freedesktop.org/git/nouveau/linux-2.6:
  drm/nvc0/copy: check PUNITS to determine which copy engines are disabled
This commit is contained in:
Dave Airlie 2012-08-29 20:05:40 +10:00
commit f08859a9b0
1 changed files with 4 additions and 2 deletions

View File

@ -736,8 +736,10 @@ nouveau_card_init(struct drm_device *dev)
} }
break; break;
case NV_C0: case NV_C0:
if (!(nv_rd32(dev, 0x022500) & 0x00000200))
nvc0_copy_create(dev, 1); nvc0_copy_create(dev, 1);
case NV_D0: case NV_D0:
if (!(nv_rd32(dev, 0x022500) & 0x00000100))
nvc0_copy_create(dev, 0); nvc0_copy_create(dev, 0);
break; break;
default: default: