提交 080feda5 编写于 作者: B Ben Skeggs

drm/nvc0: allow INIT_GPIO

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 4b223eef
...@@ -3142,7 +3142,7 @@ init_gpio(struct nvbios *bios, uint16_t offset, struct init_exec *iexec) ...@@ -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 }; const uint32_t nv50_gpio_ctl[2] = { 0xe100, 0xe28c };
int i; 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"); NV_ERROR(bios->dev, "INIT_GPIO on unsupported chipset\n");
return 1; return 1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册