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

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
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment