drm/nouveau: use dcb connector table for creating drm connectors
authorBen Skeggs <bskeggs@redhat.com>
Wed, 24 Feb 2010 02:07:31 +0000 (12:07 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 25 Feb 2010 05:09:32 +0000 (15:09 +1000)
commit7f612d87f8b4b1ddbcee04264a93e5af7b9f21c7
tree2424853fa26091abdfb946aecbcc4d6b78d24ce8
parentdc5bc4ed3815dfec2f3ecfbf6f7983440040fe22
drm/nouveau: use dcb connector table for creating drm connectors

This makes this code common to both the nv04 and nv50 paths.

For the moment, we keep the previous behaviour with HDMI/eDP connectors
and report them as DVI-D/DP instead.  This will be fixed once the rest
of the code has been fixed to deal with those types.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c
drivers/gpu/drm/nouveau/nouveau_connector.h
drivers/gpu/drm/nouveau/nv04_display.c
drivers/gpu/drm/nouveau/nv50_display.c