* picking efifb driver over dri driver
@ 2013-05-27 15:42 Christopher Harvey
2013-05-27 15:44 ` Daniel Vetter
2013-05-27 18:09 ` David Herrmann
0 siblings, 2 replies; 3+ messages in thread
From: Christopher Harvey @ 2013-05-27 15:42 UTC (permalink / raw)
To: dri-devel
I'm looking for the mechanism in the kernel that makes the decision to
load the efifb driver over a dri one. Any tips? I've got a machine here
that loads efifb and prevents dri drivers from loading.
thanks,
Chris
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: picking efifb driver over dri driver
2013-05-27 15:42 picking efifb driver over dri driver Christopher Harvey
@ 2013-05-27 15:44 ` Daniel Vetter
2013-05-27 18:09 ` David Herrmann
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2013-05-27 15:44 UTC (permalink / raw)
To: Christopher Harvey; +Cc: dri-devel
On Mon, May 27, 2013 at 5:42 PM, Christopher Harvey <charvey@matrox.com> wrote:
> I'm looking for the mechanism in the kernel that makes the decision to
> load the efifb driver over a dri one. Any tips? I've got a machine here
> that loads efifb and prevents dri drivers from loading.
Once the drm driver loads it should kick out any firmware framebuffer
driver (like the efifb). See e.g. i915_kick_out_firmware_fb in
drm/i915_dma.c Ignoring the occasional deadlock in the fbcon layer,
this works.
Cheers, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: picking efifb driver over dri driver
2013-05-27 15:42 picking efifb driver over dri driver Christopher Harvey
2013-05-27 15:44 ` Daniel Vetter
@ 2013-05-27 18:09 ` David Herrmann
1 sibling, 0 replies; 3+ messages in thread
From: David Herrmann @ 2013-05-27 18:09 UTC (permalink / raw)
To: Christopher Harvey; +Cc: dri-devel@lists.freedesktop.org
Hi
On Mon, May 27, 2013 at 5:42 PM, Christopher Harvey <charvey@matrox.com> wrote:
> I'm looking for the mechanism in the kernel that makes the decision to
> load the efifb driver over a dri one. Any tips? I've got a machine here
> that loads efifb and prevents dri drivers from loading.
If you want to use efifb over DRM drivers, you must unload the DRM
drivers or blacklist them. The kernel is designed to prefer real
hardware drivers over generic fallbacks (like efifb, vesafb, ...).
See ./drivers/video/fbmem.c remove_conflicting_framebuffers(). This is
called by DRM drivers to kick out any conflicting fbdev drivers.
Cheers
David
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-27 18:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-27 15:42 picking efifb driver over dri driver Christopher Harvey
2013-05-27 15:44 ` Daniel Vetter
2013-05-27 18:09 ` David Herrmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.