From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Jean Delvare <jdelvare@suse.de>
Cc: Dave Airlie <airlied@linux.ie>, Jeff Mahoney <jeffm@suse.de>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fb/intelfb: Do not depend on EMBEDDED
Date: Mon, 14 Dec 2009 10:36:14 -0800 [thread overview]
Message-ID: <20091214103614.52ebdafb@jbarnes-piketon> (raw)
In-Reply-To: <200912131250.13797.jdelvare@suse.de>
On Sun, 13 Dec 2009 12:50:13 +0100
Jean Delvare <jdelvare@suse.de> wrote:
> Le samedi 12 décembre 2009 22:55, Jesse Barnes a écrit :
> > Right, the logic is that the driver really is for embedded (i.e.
> > very special purpose) use. It should not be selected unless you
> > really know what you're doing or are building a very particular
> > product.
>
> The Kconfig help text doesn't say anything about this.
>
> My understanding is that the intelfb driver was not _designed_ to be
> useful on embedded designs only. It just happens to be incomplete in
> such a way that it works only in a few selected cases, which happen
> to be embedded cases, and it fails in many other cases.
>
> The proper way to handle this is not to make the driver depend on
> EMBEDDED. The proper way would be to change the intelfb driver so
> that it no longer binds to devices it will not properly support. If
> the driver doesn't support LVDS (whatever it is) then it should
> cleanly fail on systems which have that.
Sorry my last message came across as a bit curt (I was writing on a
phone and didn't want to type anymore :).
Making intelfb not bind to unsupported devices would require a good
chunk of work; it would need to scan available outputs among other
things.
> The reason why I sent a patch in the first place is exactly opposite:
> I want to let distros select this driver. My case is as follows: we
> had a product which included the intelfb driver, which we are in the
> process of upgrading. Now we find that the intelfb driver is gone
> (no longer selectable), which causes a problem as far as the upgrade
> path of our customers is concerned.
Hopefully you can migrate your product to the KMS based fb driver
instead. It should provide the same functionality but with a better
feature set (e.g. suspend/resume support).
> So the problem I have to solve is: given a customer who was
> successfully using the intelfb driver before, what solutions can we
> offer when said customer upgrades to our new product? My own solution
> was straightforward: keep including the intelfb driver in the new
> product. Thus my patch dropping the dependency on EMBEDDED. If
> another solution exists, please let me know.
Enabling EMBEDDED for your distro would be another option; if you have
a very specific product in mind and want to preserve the same features
and bugs, then that might be the best route in this particular case.
> It would help if the DRM option description was updated. It still
> reads: "Direct Rendering Manager (XFree86 4.1.0 and higher DRI
> support)". If the DRM core is now also providing support for
> framebuffer-like functionality (again, if I understand correctly)
> then the reference to XFree86 should be dropped. The help text
> should also be updated to properly describe all that the DRM core
> offers today.
Yeah, we do need better help text. People still get confused about
i830 and i810 as well...
--
Jesse Barnes, Intel Open Source Technology Center
next prev parent reply other threads:[~2009-12-14 18:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-12 21:55 Jesse Barnes
2009-12-13 11:50 ` Jean Delvare
2009-12-13 21:53 ` Dave Airlie
2009-12-16 13:37 ` Jean Delvare
2009-12-16 18:00 ` Jesse Barnes
2009-12-16 22:38 ` Krzysztof Halasa
2009-12-16 22:57 ` Dave Airlie
2009-12-16 23:19 ` Krzysztof Halasa
2009-12-14 18:36 ` Jesse Barnes [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-12-12 13:19 Jean Delvare
2009-12-12 20:10 ` Dave Airlie
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=20091214103614.52ebdafb@jbarnes-piketon \
--to=jbarnes@virtuousgeek.org \
--cc=airlied@linux.ie \
--cc=jdelvare@suse.de \
--cc=jeffm@suse.de \
--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
all inboxes | Powered by JetHome®