Lines Matching refs:nv_encoder
60 nouveau_dp_detect(struct nouveau_encoder *nv_encoder) in nouveau_dp_detect() argument
62 struct drm_device *dev = nv_encoder->base.base.dev; in nouveau_dp_detect()
68 aux = nv_encoder->aux; in nouveau_dp_detect()
76 nv_encoder->dp.link_bw = 27000 * dpcd[1]; in nouveau_dp_detect()
77 nv_encoder->dp.link_nr = dpcd[2] & DP_MAX_LANE_COUNT_MASK; in nouveau_dp_detect()
80 nv_encoder->dp.link_nr, nv_encoder->dp.link_bw, dpcd[0]); in nouveau_dp_detect()
82 nv_encoder->dcb->dpconf.link_nr, in nouveau_dp_detect()
83 nv_encoder->dcb->dpconf.link_bw); in nouveau_dp_detect()
85 if (nv_encoder->dcb->dpconf.link_nr < nv_encoder->dp.link_nr) in nouveau_dp_detect()
86 nv_encoder->dp.link_nr = nv_encoder->dcb->dpconf.link_nr; in nouveau_dp_detect()
87 if (nv_encoder->dcb->dpconf.link_bw < nv_encoder->dp.link_bw) in nouveau_dp_detect()
88 nv_encoder->dp.link_bw = nv_encoder->dcb->dpconf.link_bw; in nouveau_dp_detect()
91 nv_encoder->dp.link_nr, nv_encoder->dp.link_bw); in nouveau_dp_detect()
95 ret = nv50_mstm_detect(nv_encoder->dp.mstm, dpcd, nouveau_mst); in nouveau_dp_detect()