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

Commit bed447e7 authored by Dave Airlie's avatar Dave Airlie Committed by Alex Deucher
Browse files

drm/radeon: don't do mst probing if MST isn't enabled.



This causes an oops as we haven't initialised the mst
layer.

Reported-by: default avatarDave Jones <&lt;davej@codemonkey.org.uk>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fcf3b542
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -666,6 +666,9 @@ radeon_dp_mst_probe(struct radeon_connector *radeon_connector)
	int ret;
	u8 msg[1];

	if (!radeon_mst)
		return 0;

	if (dig_connector->dpcd[DP_DPCD_REV] < 0x12)
		return 0;