diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-03-04 05:00:39 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-03-10 09:07:07 +0300 |
commit | da647d5bf3c0a4b7ad150803910cb1d737ac522e (patch) | |
tree | 65c95cfbe3647f5d5d80ecfb28ff07043cc1ac45 /drivers/gpu/drm/nouveau/nouveau_bios.c | |
parent | 304424e17dd904cef048ef8966d9f54618a915cc (diff) | |
download | linux-da647d5bf3c0a4b7ad150803910cb1d737ac522e.tar.xz |
drm/nouveau: add option to allow override of dcb connector table types
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.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index 71247da17da5..75388f73cd26 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -5287,10 +5287,16 @@ parse_dcb_connector_table(struct nvbios *bios) break; default: cte->type = divine_connector_type(bios, cte->index); - NV_WARN(dev, "unknown type, using 0x%02x", cte->type); + NV_WARN(dev, "unknown type, using 0x%02x\n", cte->type); break; } + if (nouveau_override_conntype) { + int type = divine_connector_type(bios, cte->index); + if (type != cte->type) + NV_WARN(dev, " -> type 0x%02x\n", cte->type); + } + } } |