diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-10-19 06:06:01 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-12-03 00:06:58 -0500 |
commit | bd2e597de8dbd000a3977871f15cb81e2925d63e (patch) | |
tree | 4e3fbd24cbc262566cb93dc743cf6b14405eae21 /drivers/gpu/drm/nouveau/nouveau_object.c | |
parent | b8c157d3a9a13871742c8a8d3d4598c3791ed5f5 (diff) |
drm/nv84: add support for the PCRYPT engine
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_object.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_object.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_object.c b/drivers/gpu/drm/nouveau/nouveau_object.c index 6226beb3613d..ee526534c6f4 100644 --- a/drivers/gpu/drm/nouveau/nouveau_object.c +++ b/drivers/gpu/drm/nouveau/nouveau_object.c | |||
@@ -272,6 +272,7 @@ nouveau_gpuobj_init(struct drm_device *dev) | |||
272 | NV_DEBUG(dev, "\n"); | 272 | NV_DEBUG(dev, "\n"); |
273 | 273 | ||
274 | INIT_LIST_HEAD(&dev_priv->gpuobj_list); | 274 | INIT_LIST_HEAD(&dev_priv->gpuobj_list); |
275 | INIT_LIST_HEAD(&dev_priv->classes); | ||
275 | spin_lock_init(&dev_priv->ramin_lock); | 276 | spin_lock_init(&dev_priv->ramin_lock); |
276 | dev_priv->ramin_base = ~0; | 277 | dev_priv->ramin_base = ~0; |
277 | 278 | ||
@@ -686,7 +687,7 @@ nouveau_gpuobj_channel_init_pramin(struct nouveau_channel *chan) | |||
686 | NV_DEBUG(dev, "ch%d\n", chan->id); | 687 | NV_DEBUG(dev, "ch%d\n", chan->id); |
687 | 688 | ||
688 | /* Base amount for object storage (4KiB enough?) */ | 689 | /* Base amount for object storage (4KiB enough?) */ |
689 | size = 0x1000; | 690 | size = 0x2000; |
690 | base = 0; | 691 | base = 0; |
691 | 692 | ||
692 | /* PGRAPH context */ | 693 | /* PGRAPH context */ |