From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel J Blueman Date: Thu, 03 Jan 2013 14:39:33 +0000 Subject: Re: 3.8-rc2: EFI framebuffer lock inversion... Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sedat.dilek@gmail.com Cc: alan@lxorguk.ukuu.org.uk, linux-fbdev@vger.kernel.org, LKML , Daniel Vetter On 3 January 2013 22:11, Sedat Dilek wrote: > Hi Daniel, > > just wanted to test the fb-fix [2] from Alan and followed the thread in [1]. > Me is also working with i915 KMS. > > I looked at nouveau KMS driver and adapted the part for i915: > > drivers/gpu/drm/nouveau/nouveau_drm.c-200- /* remove conflicting > drivers (vesafb, efifb etc) */ > drivers/gpu/drm/nouveau/nouveau_drm.c:201: aper = alloc_apertures(3); > drivers/gpu/drm/nouveau/nouveau_drm.c-202- if (!aper) > drivers/gpu/drm/nouveau/nouveau_drm.c-203- return -ENOMEM; > > Untested by me, feel free to test. > > Maybe some of the i915 and/or fb driver experts can comment on the problem. The structure array from alloc_apertures is just used for the PCI base address registers, so it's important here. I'll take a look at the efifb locking later. Thanks, Daniel -- Daniel J Blueman