On Thu,  7 Jul 2011 11:11:00 -0700, Jesse Barnes <[email protected]> 
wrote:

> +     for (i = 0; i < 3; i++) {
> +             ret = intel_dp_aux_native_read(intel_dp,
> +                                            0x000, intel_dp->dpcd,
> +                                            sizeof (intel_dp->dpcd));
> +             if (ret == sizeof(intel_dp->dpcd) &&
> +                 intel_dp->dpcd[DP_DPCD_REV] != 0) {
>                       status = connector_status_connected;
> +                     break;
> +             }
> +             msleep(1);
>       }

Should this use the intel_dp_aux_native_read_retry function from the
later patch?

-- 
[email protected]

Attachment: pgpsvca9Shwyz.pgp
Description: PGP signature

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to