Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c52e53fd authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau: support version 0x20 displayport tables



Not entirely identical to 0x21, the per-encoder table header lacks the
third init table pointer.  However, our current parsing of the table
should work just fine.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 81e2d422
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3726,7 +3726,7 @@ nouveau_bios_dp_table(struct drm_device *dev, struct dcb_entry *dcbent,
	}
	table = &bios->data[bios->display.dp_table_ptr];

	if (table[0] != 0x21) {
	if (table[0] != 0x20 && table[0] != 0x21) {
		NV_ERROR(dev, "DisplayPort table version 0x%02x unknown\n",
			 table[0]);
		return NULL;