diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_gem.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_gem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c b/drivers/gpu/drm/nouveau/nouveau_gem.c index a915dcdd9a49..613f878e6d0f 100644 --- a/drivers/gpu/drm/nouveau/nouveau_gem.c +++ b/drivers/gpu/drm/nouveau/nouveau_gem.c | |||
@@ -663,7 +663,7 @@ nouveau_gem_ioctl_pushbuf(struct drm_device *dev, void *data, | |||
663 | push[i].length); | 663 | push[i].length); |
664 | } | 664 | } |
665 | } else | 665 | } else |
666 | if (dev_priv->card_type >= NV_20) { | 666 | if (dev_priv->chipset >= 0x25) { |
667 | ret = RING_SPACE(chan, req->nr_push * 2); | 667 | ret = RING_SPACE(chan, req->nr_push * 2); |
668 | if (ret) { | 668 | if (ret) { |
669 | NV_ERROR(dev, "cal_space: %d\n", ret); | 669 | NV_ERROR(dev, "cal_space: %d\n", ret); |
@@ -738,7 +738,7 @@ out_next: | |||
738 | req->suffix0 = 0x00000000; | 738 | req->suffix0 = 0x00000000; |
739 | req->suffix1 = 0x00000000; | 739 | req->suffix1 = 0x00000000; |
740 | } else | 740 | } else |
741 | if (dev_priv->card_type >= NV_20) { | 741 | if (dev_priv->chipset >= 0x25) { |
742 | req->suffix0 = 0x00020000; | 742 | req->suffix0 = 0x00020000; |
743 | req->suffix1 = 0x00000000; | 743 | req->suffix1 = 0x00000000; |
744 | } else { | 744 | } else { |