Skip to content

Commit 3d7a1da

Browse files
author
Ben Skeggs
committed
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: Ben Skeggs <[email protected]>
1 parent af5e7d8 commit 3d7a1da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/nouveau_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ nouveau_i2c_init(struct drm_device *dev)
229229
}
230230
break;
231231
case 6: /* NV50- DP AUX */
232-
port->drive = entry[0];
232+
port->drive = entry[0] & 0x0f;
233233
port->sense = port->drive;
234234
port->adapter.algo = &nouveau_dp_i2c_algo;
235235
break;

0 commit comments

Comments
 (0)