• B
    drm/nouveau: tidy connector/encoder creation a little · 8f1a6086
    Ben Skeggs 提交于
    Create connectors before encoders to avoid having to do another loop across
    encoder list whenever we create a new connector.  This allows us to pass
    the connector to the encoder creation functions, and avoid using a
    create_resources() callback since we can now call it directly.
    
    This can also potentially modify the connector ordering on nv50.  On cards
    where the DCB connector and encoder tables are in the same order, things
    will be unchanged.  However, there's some cards where the ordering between
    the tables differ, and in one case, leads us to naming the connectors
    "wrongly".
    Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
    8f1a6086
nouveau_encoder.h 2.6 KB