From owner-freebsd-x11@freebsd.org Sun Feb 21 11:34:59 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 B5626AAFF59 for ; Sun, 21 Feb 2016 11:34:59 +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 86B461833 for ; Sun, 21 Feb 2016 11:34:59 +0000 (UTC) (envelope-from jean-sebastien.pedron@dumbbell.fr) Received: from [176.158.145.63] (helo=[192.168.75.14]) by mail.made4.biz with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aXSHx-000HLM-OD for freebsd-x11@freebsd.org; Sun, 21 Feb 2016 12:34:57 +0100 Subject: Re: ValleyView To: freebsd-x11@freebsd.org References: <56B30869.6000109@gmail.com> <56B3997B.70703@gmail.com> <56B544F9.6030101@dumbbell.fr> <56B6FD3A.40905@gmail.com> From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= X-Enigmail-Draft-Status: N1110 Message-ID: <56C9A0E1.4000608@dumbbell.fr> Date: Sun, 21 Feb 2016 12:34:57 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56B6FD3A.40905@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit 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, 21 Feb 2016 11:34:59 -0000 Le 07/02/2016 09:15, Alexander Mishurov a écrit : > So I still want to enable VLV graphics by moving code closer to 3.10. > Then start to fix bugs on already working video. > > There's some notes, if you can comment them, it would be great. > > 1. My VGA PCI ID is not listed and there isn't a lot of VLV specific > registers and functions in existing code. The closest branch is 3.10. > I tried to use code from 3.14, then from 3.12, I got all working > except of eDP and i2c communication but diffs are too big. Then I > decided to use closest branch from Linux which have desired code. To > make FreeBSD code more consistent and don't do a lot of work with > huge diffs. Instead of jumping to 3.10, I would go with 3.9 first, then 3.10. I added a Getting started guide to the wiki, hopefully it can help you: https://wiki.freebsd.org/Graphics/Getting%20started%20with%20kernel%20projects > 2. I still have misunderstanding about AGP, AGP driver used for gtt > initialisation and other things in drm so I have to enable my id in > AGP driver, In Linux, they are moving more and more control away from the agp driver to the i915 driver. In Linux 3.8, this task was not completed, I don't know in Linux 3.9 or 3.10. For Haswell, all initialization is done in i915, not in agp, but agp still has the PCI IDs and attaches. > Now after my attempts I'm familiar enough with 3.8 branch code > and equivalent code from Linux to make some useful changes. > I want to join IRC or mail you when diffs will be ready or there will > be some significant questions because I don't want to bother people > when there's nothing to show. You don't both people, quite the opposite: if you share code, people will be able to help, even if it's just doing some review or compile-testing locally. -- Jean-Sébastien Pédron