struct drm_device *dev = chan->dev;
int ret;
- ret = nouveau_gpuobj_new(dev, chan, 24, 16, NVOBJ_FLAG_ZERO_ALLOC |
- NVOBJ_FLAG_ZERO_FREE, pobj);
+ ret = nouveau_gpuobj_new(dev, chan, 24, 16, NVOBJ_FLAG_ZERO_FREE, pobj);
if (ret)
return ret;
flags0 |= (base & 0x00000fff) << 20;
flags2 |= (base & 0xfffff000);
- ret = nouveau_gpuobj_new(dev, chan, (dev_priv->card_type >= NV_40) ?
- 32 : 16, 16, NVOBJ_FLAG_ZERO_ALLOC |
- NVOBJ_FLAG_ZERO_FREE, &obj);
+ ret = nouveau_gpuobj_new(dev, chan, 16, 16, NVOBJ_FLAG_ZERO_FREE, &obj);
if (ret)
return ret;