drm/nouveau/disp: parse connector info directly in nouveau_connector.c
authorBen Skeggs <bskeggs@redhat.com>
Fri, 18 Nov 2011 00:23:59 +0000 (10:23 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 21 Dec 2011 09:01:41 +0000 (19:01 +1000)
commitbefb51e9c97e783c86a1da27bdda3a638d2f02c7
tree320f1a7a6d730decc566542e49e17c1a680956c4
parentf553b79c03f0dbd52f6f03abe8233a2bef8cbd0d
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>
drivers/gpu/drm/nouveau/nouveau_bios.c
drivers/gpu/drm/nouveau/nouveau_bios.h
drivers/gpu/drm/nouveau/nouveau_connector.c
drivers/gpu/drm/nouveau/nouveau_connector.h
drivers/gpu/drm/nouveau/nouveau_dp.c
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/nouveau/nvd0_display.c