drm/nouveau/kms/nv50: give more useful names to encoders
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
7f55a07293
commit
5a223daccb
|
@ -1721,7 +1721,8 @@ nv50_dac_create(struct drm_connector *connector, struct dcb_output *dcbe)
|
|||
encoder = to_drm_encoder(nv_encoder);
|
||||
encoder->possible_crtcs = dcbe->heads;
|
||||
encoder->possible_clones = 0;
|
||||
drm_encoder_init(connector->dev, encoder, &nv50_dac_func, type, NULL);
|
||||
drm_encoder_init(connector->dev, encoder, &nv50_dac_func, type,
|
||||
"dac-%04x-%04x", dcbe->hasht, dcbe->hashm);
|
||||
drm_encoder_helper_add(encoder, &nv50_dac_hfunc);
|
||||
|
||||
drm_mode_connector_attach_encoder(connector, encoder);
|
||||
|
@ -2227,7 +2228,8 @@ nv50_sor_create(struct drm_connector *connector, struct dcb_output *dcbe)
|
|||
encoder = to_drm_encoder(nv_encoder);
|
||||
encoder->possible_crtcs = dcbe->heads;
|
||||
encoder->possible_clones = 0;
|
||||
drm_encoder_init(connector->dev, encoder, &nv50_sor_func, type, NULL);
|
||||
drm_encoder_init(connector->dev, encoder, &nv50_sor_func, type,
|
||||
"sor-%04x-%04x", dcbe->hasht, dcbe->hashm);
|
||||
drm_encoder_helper_add(encoder, &nv50_sor_hfunc);
|
||||
|
||||
drm_mode_connector_attach_encoder(connector, encoder);
|
||||
|
@ -2431,7 +2433,8 @@ nv50_pior_create(struct drm_connector *connector, struct dcb_output *dcbe)
|
|||
encoder = to_drm_encoder(nv_encoder);
|
||||
encoder->possible_crtcs = dcbe->heads;
|
||||
encoder->possible_clones = 0;
|
||||
drm_encoder_init(connector->dev, encoder, &nv50_pior_func, type, NULL);
|
||||
drm_encoder_init(connector->dev, encoder, &nv50_pior_func, type,
|
||||
"pior-%04x-%04x", dcbe->hasht, dcbe->hashm);
|
||||
drm_encoder_helper_add(encoder, &nv50_pior_hfunc);
|
||||
|
||||
drm_mode_connector_attach_encoder(connector, encoder);
|
||||
|
|
Loading…
Reference in New Issue