aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_bios.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-08-03 23:40:50 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-08-05 18:35:21 -0400
commit080feda59c6133ad5edcfa06e8e3d775dd0240a2 (patch)
treee23dd8ef3316fe263dce0b22a66478efb0dd77a3 /drivers/gpu/drm/nouveau/nouveau_bios.c
parent4b223eefe43d201c323d120a01dbd0dcbba64e6d (diff)
drm/nvc0: allow INIT_GPIO
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_bios.c')
-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 e86f46cf883..274e9b66ec6 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)
3142 const uint32_t nv50_gpio_ctl[2] = { 0xe100, 0xe28c }; 3142 const uint32_t nv50_gpio_ctl[2] = { 0xe100, 0xe28c };
3143 int i; 3143 int i;
3144 3144
3145 if (dev_priv->card_type != NV_50) { 3145 if (dev_priv->card_type < NV_50) {
3146 NV_ERROR(bios->dev, "INIT_GPIO on unsupported chipset\n"); 3146 NV_ERROR(bios->dev, "INIT_GPIO on unsupported chipset\n");
3147 return 1; 3147 return 1;
3148 } 3148 }