summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_bios.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-06-25 06:26:42 +0400
committerBen Skeggs <bskeggs@redhat.com>2013-07-01 07:50:46 +0400
commitd2898713fbd6431d7c09a52eb5e814805fcf8194 (patch)
tree6a35d347e7fa3a476eeab527c596d562a6ee6751 /drivers/gpu/drm/nouveau/nouveau_bios.c
parent79442c3af0525e81d4598e272abe5db60c489c62 (diff)
downloadlinux-d2898713fbd6431d7c09a52eb5e814805fcf8194.tar.xz
drm/nouveau/kms: don't fail if there's no dcb table entries
Fixes module not loading on Tesla K20. 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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c
index 6aa2137e093a..e09817df7934 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -1878,9 +1878,6 @@ parse_dcb_table(struct drm_device *dev, struct nvbios *bios)
if (dcb->version < 0x21)
merge_like_dcb_entries(dev, dcb);
- if (!dcb->entries)
- return -ENXIO;
-
/* dump connector table entries to log, if any exist */
idx = -1;
while ((conn = olddcb_conn(dev, ++idx))) {