提交 3d7a1da2 编写于 作者: B Ben Skeggs

drm/nouveau/aux: mask off higher bits of auxch index in i2c table entry

At least partially fixes DP output detection on W530.  Not sure if more
issues remain, or if my adaptor is just behaving weirdly (it does that
sometimes).

In any case, this patch is necessary.
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 af5e7d84
...@@ -229,7 +229,7 @@ nouveau_i2c_init(struct drm_device *dev) ...@@ -229,7 +229,7 @@ nouveau_i2c_init(struct drm_device *dev)
} }
break; break;
case 6: /* NV50- DP AUX */ case 6: /* NV50- DP AUX */
port->drive = entry[0]; port->drive = entry[0] & 0x0f;
port->sense = port->drive; port->sense = port->drive;
port->adapter.algo = &nouveau_dp_i2c_algo; port->adapter.algo = &nouveau_dp_i2c_algo;
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册