Commit 85341f27 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau: fix typo in c2aa91afea5f7e7ae4530fabd37414a79c03328c


Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent fade7ad5
......@@ -469,7 +469,7 @@ nouveau_dp_detect(struct drm_encoder *encoder)
!nv_encoder->dcb->dpconf.link_bw)
nv_encoder->dp.link_bw = DP_LINK_BW_1_62;
nv_encoder->dp.link_nr = dpcd[2] & DP_MAX_LANE_COUNT;
nv_encoder->dp.link_nr = dpcd[2] & DP_MAX_LANE_COUNT_MASK;
if (nv_encoder->dp.link_nr > nv_encoder->dcb->dpconf.link_nr)
nv_encoder->dp.link_nr = nv_encoder->dcb->dpconf.link_nr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment