diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-08-04 13:40:50 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-08-06 08:35:21 +1000 |
commit | 080feda59c6133ad5edcfa06e8e3d775dd0240a2 (patch) | |
tree | e23dd8ef3316fe263dce0b22a66478efb0dd77a3 | |
parent | 4b223eefe43d201c323d120a01dbd0dcbba64e6d (diff) | |
download | linux-080feda59c6133ad5edcfa06e8e3d775dd0240a2.tar.bz2 |
drm/nvc0: allow INIT_GPIO
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index e86f46cf8837..274e9b66ec63 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -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; } |