drm/radeon: don't do mst probing is MST isn't enabled.
Subsystems (2)
Dave Airlie
maintainerPATCH 1/1 drm/radeon: don't do mst probing is MST isn't enabled.
From: Dave Airlie <[email protected]>
This causes an oops as we haven't initialised the mst layer.
Reported-by Dave Jones <<[email protected]>
Signed-off-by Dave Airlie <[email protected]>
--- drivers/gpu/drm/radeon/radeon_dp_mst.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/radeon/radeon_dp_mst.c +3 -0
@@ -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 ;
Signature · 6 lines
2.1.0 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Alex Deucher
Applied2015-05-12 19:51 GMT-04:00 Dave Airlie <[email protected]>:
Quoted 7 lines
From: Dave Airlie <[email protected]>
This causes an oops as we haven't initialised the mst layer.
Reported-by Dave Jones <<[email protected]>Signed-off-by Dave Airlie <[email protected]>
Applied to my fixes branch. Thanks!
Alex
Quoted 21 lines
--- drivers/gpu/drm/radeon/radeon_dp_mst.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/radeon/radeon_dp_mst.c +3
-1@@ -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 ; --2.1.0
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel