aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_object.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-07-02 06:28:49 -0400
committerBen Skeggs <bskeggs@redhat.com>2011-09-20 02:04:45 -0400
commit2e9733ff7d4f1c7185bea16041f532d6142ca40a (patch)
tree631d0f07b0bf9c9f1650869518ad115ce5234eb2 /drivers/gpu/drm/nouveau/nouveau_object.c
parentf3f2f54e11ff6f3f39a108bfcf7e074b282e3a50 (diff)
drm/nvd0: add a card_type for 0xdX chipsets
These are different enough from 0xcX to justify it, half fermi, half kepler(??).. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_object.c b/drivers/gpu/drm/nouveau/nouveau_object.c
index 159b7c437d3f..363379c226ed 100644
--- a/drivers/gpu/drm/nouveau/nouveau_object.c
+++ b/drivers/gpu/drm/nouveau/nouveau_object.c
@@ -746,7 +746,7 @@ nouveau_gpuobj_channel_init(struct nouveau_channel *chan,
746 int ret, i; 746 int ret, i;
747 747
748 NV_DEBUG(dev, "ch%d vram=0x%08x tt=0x%08x\n", chan->id, vram_h, tt_h); 748 NV_DEBUG(dev, "ch%d vram=0x%08x tt=0x%08x\n", chan->id, vram_h, tt_h);
749 if (dev_priv->card_type == NV_C0) 749 if (dev_priv->card_type >= NV_C0)
750 return nvc0_gpuobj_channel_init(chan, vm); 750 return nvc0_gpuobj_channel_init(chan, vm);
751 751
752 /* Allocate a chunk of memory for per-channel object storage */ 752 /* Allocate a chunk of memory for per-channel object storage */