Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Apr 2013 00:31:22 +0200
From:      =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= <dumbbell@FreeBSD.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        =?ISO-8859-1?Q?Olivier_Cochard-Labb=E9?= <olivier@cochard.me>, svn-src-head <svn-src-head@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r249041 - in head/sys/dev/drm2: . i915
Message-ID:  <5161F3BA.8040001@FreeBSD.org>
In-Reply-To: <20130407190509.GA2930@kib.kiev.ua>
References:  <201304030827.r338RZih051806@svn.freebsd.org> <CA%2Bq%2BTcr56QXUkNhS65nUQyfoAqgfRSp3RD5avL8LVATedeNPCA@mail.gmail.com> <5161ADD8.6090607@FreeBSD.org> <CA%2Bq%2BTcr7AGZxBXjdOKut=PPQ65DcJ3PPd-%2B7qXmc-fF1cOMu9A@mail.gmail.com> <20130407190509.GA2930@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5161F3BA.8040001>