From owner-svn-src-head@FreeBSD.ORG Sun Apr 7 19:05:15 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 C981A711; Sun, 7 Apr 2013 19:05:15 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6AF2BA8D; Sun, 7 Apr 2013 19:05:15 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r37J59Pm029646; Sun, 7 Apr 2013 22:05:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.2 kib.kiev.ua r37J59Pm029646 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r37J59AO029645; Sun, 7 Apr 2013 22:05:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 7 Apr 2013 22:05:09 +0300 From: Konstantin Belousov To: Olivier Cochard-Labb? Subject: Re: svn commit: r249041 - in head/sys/dev/drm2: . i915 Message-ID: <20130407190509.GA2930@kib.kiev.ua> References: <201304030827.r338RZih051806@svn.freebsd.org> <5161ADD8.6090607@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: svn-src-head , svn-src-all , src-committers , Jean-S?bastien P?dron 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 19:05:16 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 07, 2013 at 08:48:49PM +0200, Olivier Cochard-Labb? wrote: > On Sun, Apr 7, 2013 at 7:33 PM, Jean-S?bastien P?dron > wrote: >=20 > > Hi Olivier! > > > > Could you please try the following patch? > > http://people.freebsd.org/~dumbbell/radeonkms/drm-i915-intel_iic.a.patch > > > > It reverts a part of the commit, the one in intel_gmbus_transfer(). I > > think this function was called with the .slave address already left-shi= fted. > > >=20 > Thanks for your fast response: > svn up to latest rev 249241 + applied your patch? But still same problem = :-( >=20 > Here is my full dmesg+xorg.log at r249241 with your patch (non working): > http://gugus69.free.fr/freebsd/i915kms.r249241-patched.txt >=20 > And here is the full dmesg + xorg.log at r249040 (working): > http://gugus69.free.fr/freebsd/i915kms.r249040.txt 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. More useful debug info could be obtained by setting the kenv drm.debug to 3, and then looking at the dmesg. --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRYcNkAAoJEJDCuSvBvK1BkNEP/ieX0tdqHOtMgjdxFeRjOx84 Ad7tNVKRVlSZ7Ab5o2bTrYC+IrIB8i8FKVC7GS/RQg/8qESoFMiNCV4r8vsdvI1/ RdUdFXmgs5bbov6yJKcEAHsG554vXKOlqn5DBOSiNj7InEnpOGgT61DF9NkTtDwE hR8sbI9CFJaJUPLIVGzMZ6Boy9kHRPOux+rnFM5UvMdUQqWPIoO+7Gvomrr0aU2D NgwOHgYMCdTTwxjwmkmPxfKBnNBfi+RBC+sO57uYe1uToti+VnCjmUkydmS4epCt zjsEzJrCt5WXTDG3JjmWva7MeKtiSArKOQz/F+HuvKQ476IuzDnuORiwVhcJOgo9 RoB7jKeJ1a17kdWUbJlHK5DSx6l1+M8DrLR/u8V4BOitntbHQyVidCAw+Haf7pHi fTMCU2WBIkN0J2CAWF4q9YLN82qUFjDA0ci1QrkOAR0puEEpK11JJMd78Lk84wpl NRriBcZSsxjUEDa/rMxBfHFCJh7vuus77qpQR9t6FPigon/arm2y+heN6c3WjCx3 IeruGk3nIIrPp8B1v4BkfP2O6YSBqo4ez3+7N/xydtxZYa5lsEqaEdb3jcuBtgMl fN35nYx21/odQs+f6NjmgExAiLNECjLDPsJLAFv9MVKwMj6N5NLtaRqimY8euTLS mcZAlYkZW79A2rRiYmE/ =HK/S -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--