summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-08-04 05:40:50 +0200
committerBen Skeggs <bskeggs@redhat.com>2010-08-06 00:35:21 +0200
commit080feda59c6133ad5edcfa06e8e3d775dd0240a2 (patch)
treee23dd8ef3316fe263dce0b22a66478efb0dd77a3
parentdrm/nvc0: starting point for GF100 support, everything stubbed (diff)
downloadlinux-080feda59c6133ad5edcfa06e8e3d775dd0240a2.tar.xz
linux-080feda59c6133ad5edcfa06e8e3d775dd0240a2.zip
drm/nvc0: allow INIT_GPIO
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_bios.c2
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;
}