From owner-freebsd-x11@freebsd.org Sun Jan 10 19:32:05 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9FB10A6BA33 for ; Sun, 10 Jan 2016 19:32:05 +0000 (UTC) (envelope-from jean-sebastien.pedron@dumbbell.fr) Received: from mail.made4.biz (mail.made4.biz [IPv6:2001:41d0:2:c018::1:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6DB801979 for ; Sun, 10 Jan 2016 19:32:05 +0000 (UTC) (envelope-from jean-sebastien.pedron@dumbbell.fr) Received: from 141.7.19.93.rev.sfr.net ([93.19.7.141] helo=magellan.dumbbell.fr) by mail.made4.biz with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aILid-000Mmp-Cm for freebsd-x11@FreeBSD.org; Sun, 10 Jan 2016 20:32:03 +0100 To: "freebsd-x11@freebsd.org" From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= Subject: Contributing to the kernel video drivers, phase #2 X-Enigmail-Draft-Status: N1110 Message-ID: <5692B1AC.5080409@dumbbell.fr> Date: Sun, 10 Jan 2016 20:31:56 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oDW1thLelob0Bq8ApeM8TL6asOFg871FJ" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2016 19:32:05 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --oDW1thLelob0Bq8ApeM8TL6asOFg871FJ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! Thanks to everyone who shared their opinions! Generally, people seem to prefer the file-by-file approach. About the targetted kernel, a few of you would even go with the big jump to the latest kernel. If we could achieve that, it would be awesome as this would resolve the "we are behind" issue. But the risk is quite high. Still, I'm curious about this. So here is what I propose: o Let's create a drm-next-3.9 branch, based on drm-i915-update-38. People who are interested by updating the whole DRM to Linux 3.9 (not just i915) can send pull requests to this branch. I will join this effort once drm-i915-update-38 is finished and committed. o Also, we create a drm-next-4.4 branch, still based on drm-i915-update-38. Again, those who wish to work on that, please send pull requests. What I don't know is, should we move to linuxkpi first (instead of sys/dev/drm2/drm_os_freebsd.[ch])? For the file-by-file approach, here is what I usually do: o I compare the diff between Linux $target_version and FreeBSD. o If the diff is relatively small, I try to apply changes one by one. o If the diff is large, I copy the Linux source file and port it again, by looking the the FreeBSD version. o If functions were reordered or style was changed, I try to do the same non-functional updates to the FreeBSD file in HEAD: this simplifies the comparison between the old and new copies of the FreeBSD file. Those who preferred the commit-by-commit approach: would you like to form a thrid team and work on that? Or join the file-by-file effort? --=20 Jean-S=C3=A9bastien P=C3=A9dron --oDW1thLelob0Bq8ApeM8TL6asOFg871FJ 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 iQJ8BAEBCgBmBQJWkrGsXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NzA4N0ZEMUFFQUUwRTEyREJDNkE2RjAz OUU5OTc2MUE1RkQ5NENDAAoJEDnpl2Gl/ZTMQk4P+gJTTy9zcQdD6LseLXpMa0MH wSJICFxOMAdppiwVVcp6xVl+gjy6eG+6wEOybYdiWz/wrkq5JXCjW/i2xRLqqpN8 mO4s40qW6SMUSiA1VUz2lSUZ2eDwWFwipOZ4BPhIL0bf9RpHQvfr/Qg2I49WNHTd dUeZJVKmnEmY+glKkR0oFdiM+SG3tCDtwvpO/akCk2ZDeKO1zPRaryUCijYTvN+e v+RCQGxF1dQTmhZtPl4P2PL4auT1BbzvTgtU/RgH1/yh/Fn0LCk9pq0uszv1REsR X25KFeOxMVUiZ7CWRrA8zUoozMkX6fwR5daE+ypowS5muLUgoTLc18kHsmlQfw+s r3Wlmqjdy/IVvDu2WB44Q5fUROI3PpbM/+cUH0COtFq5EyWari5v0PqRCYnYo0HE KLNJ3oNTPowMpT46wk7KBxdLCIyWmfc3TNAmO4n2Gb5XSwzanqtnl6lmIJWaRnrt kYcUt23bO6g488smR3JKdzssTUV8uGdwo1fk/kFlE+9oYkUMI7CCMUWY4n75mdsK K5kRZbgGJGLYiArOAwyjmKvNKgfJ3bSpXm9gJnup4QLkB/oovicl6vb1Ag/aFxh7 ck4W1ews9TPB+B3P95e0tObujac7SvoKwfkN5Bq9qDomGFJm2Sn1GdUTEk7nfjlP +jhA7TkJA8Ltwl6yF/15 =Za7p -----END PGP SIGNATURE----- --oDW1thLelob0Bq8ApeM8TL6asOFg871FJ--