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

Commit 22bc4eef authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm: add support to sst-only sink branch device"

parents 6368ed09 9f3fa7a2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1076,6 +1076,13 @@ static bool drm_dp_port_setup_pdt(struct drm_dp_mst_port *port)
		ret = drm_dp_mst_register_i2c_bus(&port->aux);
		break;
	case DP_PEER_DEVICE_MST_BRANCHING:
		/* SST-only branch should be treated as SST sink */
		if (!port->input && !port->mcs) {
			port->pdt = DP_PEER_DEVICE_SST_SINK;
			ret = drm_dp_mst_register_i2c_bus(&port->aux);
			break;
		}

		lct = drm_dp_calculate_rad(port, rad);

		port->mstb = drm_dp_add_mst_branch_device(lct, rad);