summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_connector.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-11-18 10:23:59 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 19:01:41 +1000
commitbefb51e9c97e783c86a1da27bdda3a638d2f02c7 (patch)
tree320f1a7a6d730decc566542e49e17c1a680956c4 /drivers/gpu/drm/nouveau/nouveau_connector.h
parentf553b79c03f0dbd52f6f03abe8233a2bef8cbd0d (diff)
downloadlinux-befb51e9c97e783c86a1da27bdda3a638d2f02c7.tar.gz
linux-befb51e9c97e783c86a1da27bdda3a638d2f02c7.tar.bz2
linux-befb51e9c97e783c86a1da27bdda3a638d2f02c7.zip
drm/nouveau/disp: parse connector info directly in nouveau_connector.c
Another case where we parsed vbios data to some structs, then again use that info once to construct another set of data. Skip the intermediate step. This is also slightly improved in that we can now use DCB 3.x connector table info, which will allow NV4x to gain hotplug support, and to make quirks for SPWG LVDS panels unnecessary. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_connector.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_connector.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.h b/drivers/gpu/drm/nouveau/nouveau_connector.h
index 6468f5e67ccf..e4857021304c 100644
--- a/drivers/gpu/drm/nouveau/nouveau_connector.h
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.h
@@ -56,8 +56,10 @@ enum nouveau_dithering_depth {
struct nouveau_connector {
struct drm_connector base;
-
- struct dcb_connector_table_entry *dcb;
+ enum dcb_connector_type type;
+ u8 index;
+ u8 *dcb;
+ u8 hpd;
int dithering_mode;
int dithering_depth;