From: Keith Packard Subject: Re: [PATCH 4/7] drm/i915/dp: try to read receiver capabilities 3 times when detecting Date: Thu, 07 Jul 2011 13:13:23 -0700 Message-ID: References: <1310062263-5595-1-git-send-email-jbarnes@virtuousgeek.org> <1310062263-5595-5-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0034110078==" Return-path: Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id 351449E754 for ; Thu, 7 Jul 2011 13:13:29 -0700 (PDT) In-Reply-To: <1310062263-5595-5-git-send-email-jbarnes@virtuousgeek.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Jesse Barnes , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0034110078== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 7 Jul 2011 11:11:00 -0700, Jesse Barnes = wrote: > + for (i =3D 0; i < 3; i++) { > + ret =3D intel_dp_aux_native_read(intel_dp, > + 0x000, intel_dp->dpcd, > + sizeof (intel_dp->dpcd)); > + if (ret =3D=3D sizeof(intel_dp->dpcd) && > + intel_dp->dpcd[DP_DPCD_REV] !=3D 0) { > status =3D connector_status_connected; > + break; > + } > + msleep(1); > } Should this use the intel_dp_aux_native_read_retry function from the later patch? =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFOFhNjQp8BWwlsTdMRAiSdAKDhdPg2PE7qA/70ns6h30cPLuVLcQCggSPN IpVJcBQEAQl//wdBNt3470M= =JJnu -----END PGP SIGNATURE----- --=-=-=-- --===============0034110078== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============0034110078==--