[PATCH] drm/radeon: don't do mst probing is MST isn't enabled.
Alex Deucher
alexdeucher at gmail.com
Wed May 13 06:37:12 PDT 2015
2015-05-12 19:51 GMT-04:00 Dave Airlie <airlied at gmail.com>:
> From: Dave Airlie <airlied at redhat.com>
>
> This causes an oops as we haven't initialised the mst
> layer.
>
> Reported-by: Dave Jones <<davej at codemonkey.org.uk>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
Applied to my fixes branch. Thanks!
Alex
> ---
> drivers/gpu/drm/radeon/radeon_dp_mst.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_dp_mst.c b/drivers/gpu/drm/radeon/radeon_dp_mst.c
> index 1017338..2b98ed3 100644
> --- a/drivers/gpu/drm/radeon/radeon_dp_mst.c
> +++ b/drivers/gpu/drm/radeon/radeon_dp_mst.c
> @@ -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
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
More information about the dri-devel
mailing list