From owner-svn-src-head@FreeBSD.ORG Sun Apr 7 22:31:45 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 65D9ED29; Sun, 7 Apr 2013 22:31:45 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from mail.made4.biz (ns25270.ovh.net [91.121.29.24]) by mx1.freebsd.org (Postfix) with ESMTP id 29386349; Sun, 7 Apr 2013 22:31:44 +0000 (UTC) Received: from corvisart.dumbbell.fr ([88.178.10.224] helo=magellan.dumbbell.fr) by mail.made4.biz with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UOy7i-000AuH-Ha; Mon, 08 Apr 2013 00:31:43 +0200 Message-ID: <5161F3BA.8040001@FreeBSD.org> Date: Mon, 08 Apr 2013 00:31:22 +0200 From: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: svn commit: r249041 - in head/sys/dev/drm2: . i915 References: <201304030827.r338RZih051806@svn.freebsd.org> <5161ADD8.6090607@FreeBSD.org> <20130407190509.GA2930@kib.kiev.ua> In-Reply-To: <20130407190509.GA2930@kib.kiev.ua> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2CNMKSCOCLNPAEPJCPDWM" Cc: =?ISO-8859-1?Q?Olivier_Cochard-Labb=E9?= , svn-src-head , svn-src-all , src-committers X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Apr 2013 22:31:45 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2CNMKSCOCLNPAEPJCPDWM Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07.04.2013 21:05, Konstantin Belousov wrote: > I suspect that the issue is with the drm2/i915/intel_dp.c. > You might try to use shift to 7 instead of 8 for address in the > intel_dp_aux_native_read/write, but I am not sure. Based on your remark, I proposed the following patch to Olivier: http://people.freebsd.org/~dumbbell/radeonkms/drm-i915-intel_iic.b.patch And it worked for him! If I understand correctly, this "aux channel" emulates a I2C bus. The patch right-shifts back the slave address (in drm_dp_iic_helper.c). This address is then used in intel_dp_i2c_aux_ch() (intel_dp.c). If you agree, I can commit it. --=20 Jean-S=E9bastien P=E9dron ------enig2CNMKSCOCLNPAEPJCPDWM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlFh884ACgkQa+xGJsFYOlPCugCePnb8tnkXzWkjFnCCeLdA4Fn6 KesAn1U53YGlrh0On1s2GaGV/argh6ca =NU2a -----END PGP SIGNATURE----- ------enig2CNMKSCOCLNPAEPJCPDWM--