drm/nvc0: allow INIT_GPIO
authorBen Skeggs <bskeggs@redhat.com>
Wed, 4 Aug 2010 03:40:50 +0000 (13:40 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 5 Aug 2010 22:35:21 +0000 (08:35 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c

index e86f46cf883710d042cd93728e4ddc2eab5eb7d5..274e9b66ec639f40338c65fb8d698300b6ebdb84 100644 (file)
@@ -3142,7 +3142,7 @@ init_gpio(struct nvbios *bios, uint16_t offset, struct init_exec *iexec)
        const uint32_t nv50_gpio_ctl[2] = { 0xe100, 0xe28c };
        int i;
 
-       if (dev_priv->card_type != NV_50) {
+       if (dev_priv->card_type < NV_50) {
                NV_ERROR(bios->dev, "INIT_GPIO on unsupported chipset\n");
                return 1;
        }