From: Florian Mickler <mickler@fzi.de>
To: David Fries <david@fries.net>
Cc: linux-kernel@vger.kernel.org, David Airlie <airlied@linux.ie>,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] [correction] load fbcon from drm_kms_helper
Date: Sun, 12 Dec 2010 23:01:28 +0100 [thread overview]
Message-ID: <20101212230128.47c20b10@schatten.dmk.lab> (raw)
In-Reply-To: <20101212183921.GA25744@spacedout.fries.net>
On Sun, 12 Dec 2010 12:39:22 -0600
David Fries <david@fries.net> wrote:
> Kconfig says fbcon is required by drm_kms_helper. If radeon, fbcon,
> and drm_kms_helper are all modules, radeon is auto loaded (by PCI id?),
> drm_kms_helper is loaded because of the module dependency, but fbcon
> isn't loaded leaving the console unusable. Since fbcon is required
> and there isn't an explicit module dependency, request the module
> to be loaded from drm_kms_helper.
>
> Signed-off-by: David Fries <david@fries.net>
> Cc: David Airlie <airlied@linux.ie>
> Cc: dri-devel@lists.freedesktop.org
> ---
> The last patch had a typo 'namue', mental reminder, test again after
> running checkpatch.pl.
>
> This solves compiling CONFIG_FB=m and being left with a blank screen
> because the radeon module is automatically loaded, but fbcon isn't.
> If radeon had to be manually loaded, then it would be the user's fault
> for
> not loading fbcon as well, but as radeon is being loaded
> automatically,
> there isn't much a user can do from console to even fix it. More bug
> details from here,
> https://bugzilla.kernel.org/show_bug.cgi?id=16221
I guess this is reasonable. Maybe _if_ there actually is a usecase for
a drm driver without fbcon, the drm could provide a
parameter to skip loading fbcon?
But also the drm Kconfig seems to be bogus? SELECT is not transitiv.
So selecting DRM_KMS_HELPER is not enough, as it will not select FB
and FRAMEBUFFER_CONSOLE. Maybe the drm drivers that currently
select DRM_KMS_HELPER should instead depend on it.
Sincerely,
Flo
next prev parent reply other threads:[~2010-12-12 22:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-12 18:39 David Fries
2010-12-12 22:01 ` Florian Mickler [this message]
2010-12-13 0:34 ` David Fries
2010-12-13 15:25 ` Florian Mickler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101212230128.47c20b10@schatten.dmk.lab \
--to=mickler@fzi.de \
--cc=airlied@linux.ie \
--cc=david@fries.net \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome