mstc 683 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc; mstc 691 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = msto->mstc; mstc 692 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstm *mstm = mstc->mstm; mstc 693 drivers/gpu/drm/nouveau/dispnv50/disp.c int vcpi = mstc->port->vcpi.vcpi, i; mstc 718 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = msto->mstc; mstc 719 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstm *mstm = mstc->mstm; mstc 726 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_dp_mst_deallocate_vcpi(&mstm->mgr, mstc->port); mstc 728 drivers/gpu/drm/nouveau/dispnv50/disp.c msto->mstc = NULL; mstc 737 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = msto->mstc; mstc 738 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstm *mstm = mstc->mstm; mstc 753 drivers/gpu/drm/nouveau/dispnv50/disp.c if (mstc->port->vcpi.vcpi > 0) { mstc 758 drivers/gpu/drm/nouveau/dispnv50/disp.c args.vcpi.pbn = mstc->port->vcpi.pbn; mstc 759 drivers/gpu/drm/nouveau/dispnv50/disp.c args.vcpi.aligned_pbn = mstc->port->vcpi.aligned_pbn; mstc 779 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = nv50_mstc(connector); mstc 780 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstm *mstm = mstc->mstm; mstc 786 drivers/gpu/drm/nouveau/dispnv50/disp.c mstc->native); mstc 812 drivers/gpu/drm/nouveau/dispnv50/disp.c slots = drm_dp_atomic_find_vcpi_slots(state, &mstm->mgr, mstc->port, mstc 839 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = NULL; mstc 849 drivers/gpu/drm/nouveau/dispnv50/disp.c mstc = nv50_mstc(connector); mstc 850 drivers/gpu/drm/nouveau/dispnv50/disp.c mstm = mstc->mstm; mstc 856 drivers/gpu/drm/nouveau/dispnv50/disp.c if (WARN_ON(!mstc)) mstc 859 drivers/gpu/drm/nouveau/dispnv50/disp.c r = drm_dp_mst_allocate_vcpi(&mstm->mgr, mstc->port, armh->dp.pbn, mstc 876 drivers/gpu/drm/nouveau/dispnv50/disp.c msto->mstc = mstc; mstc 884 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = msto->mstc; mstc 885 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstm *mstm = mstc->mstm; mstc 887 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_dp_mst_reset_vcpi_slots(&mstm->mgr, mstc->port); mstc 944 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = nv50_mstc(connector); mstc 946 drivers/gpu/drm/nouveau/dispnv50/disp.c return &mstc->mstm->msto[head->base.index]->encoder; mstc 952 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = nv50_mstc(connector); mstc 954 drivers/gpu/drm/nouveau/dispnv50/disp.c return &mstc->mstm->msto[0]->encoder; mstc 967 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = nv50_mstc(connector); mstc 970 drivers/gpu/drm/nouveau/dispnv50/disp.c mstc->edid = drm_dp_mst_get_edid(&mstc->connector, mstc->port->mgr, mstc->port); mstc 971 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_connector_update_edid_property(&mstc->connector, mstc->edid); mstc 972 drivers/gpu/drm/nouveau/dispnv50/disp.c if (mstc->edid) mstc 973 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = drm_add_edid_modes(&mstc->connector, mstc->edid); mstc 975 drivers/gpu/drm/nouveau/dispnv50/disp.c if (!mstc->connector.display_info.bpc) mstc 976 drivers/gpu/drm/nouveau/dispnv50/disp.c mstc->connector.display_info.bpc = 8; mstc 978 drivers/gpu/drm/nouveau/dispnv50/disp.c if (mstc->native) mstc 979 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_mode_destroy(mstc->connector.dev, mstc->native); mstc 980 drivers/gpu/drm/nouveau/dispnv50/disp.c mstc->native = nouveau_conn_native_mode(&mstc->connector); mstc 988 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = nv50_mstc(connector); mstc 989 drivers/gpu/drm/nouveau/dispnv50/disp.c struct drm_dp_mst_topology_mgr *mgr = &mstc->mstm->mgr; mstc 1012 drivers/gpu/drm/nouveau/dispnv50/disp.c return drm_dp_atomic_release_vcpi_slots(state, mgr, mstc->port); mstc 1027 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = nv50_mstc(connector); mstc 1038 drivers/gpu/drm/nouveau/dispnv50/disp.c conn_status = drm_dp_mst_detect_port(connector, mstc->port->mgr, mstc 1039 drivers/gpu/drm/nouveau/dispnv50/disp.c mstc->port); mstc 1049 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = nv50_mstc(connector); mstc 1051 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_connector_cleanup(&mstc->connector); mstc 1052 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_dp_mst_put_port_malloc(mstc->port); mstc 1054 drivers/gpu/drm/nouveau/dispnv50/disp.c kfree(mstc); mstc 1074 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc; mstc 1077 drivers/gpu/drm/nouveau/dispnv50/disp.c if (!(mstc = *pmstc = kzalloc(sizeof(*mstc), GFP_KERNEL))) mstc 1079 drivers/gpu/drm/nouveau/dispnv50/disp.c mstc->mstm = mstm; mstc 1080 drivers/gpu/drm/nouveau/dispnv50/disp.c mstc->port = port; mstc 1082 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = drm_connector_init(dev, &mstc->connector, &nv50_mstc, mstc 1090 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_connector_helper_add(&mstc->connector, &nv50_mstc_help); mstc 1092 drivers/gpu/drm/nouveau/dispnv50/disp.c mstc->connector.funcs->reset(&mstc->connector); mstc 1093 drivers/gpu/drm/nouveau/dispnv50/disp.c nouveau_conn_attach_properties(&mstc->connector); mstc 1096 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_connector_attach_encoder(&mstc->connector, &mstm->msto[i]->encoder); mstc 1098 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_object_attach_property(&mstc->connector.base, dev->mode_config.path_property, 0); mstc 1099 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_object_attach_property(&mstc->connector.base, dev->mode_config.tile_property, 0); mstc 1100 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_connector_set_path_property(&mstc->connector, path); mstc 1120 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = msto->mstc; mstc 1121 drivers/gpu/drm/nouveau/dispnv50/disp.c if (mstc && mstc->mstm == mstm) mstc 1142 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = msto->mstc; mstc 1143 drivers/gpu/drm/nouveau/dispnv50/disp.c if (mstc && mstc->mstm == mstm) mstc 1160 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc = nv50_mstc(connector); mstc 1162 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_connector_unregister(&mstc->connector); mstc 1164 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_fb_helper_remove_one_connector(&drm->fbcon->helper, &mstc->connector); mstc 1166 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_connector_put(&mstc->connector); mstc 1184 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_mstc *mstc; mstc 1187 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = nv50_mstc_new(mstm, port, path, &mstc); mstc 1191 drivers/gpu/drm/nouveau/dispnv50/disp.c return &mstc->connector;