Bug 1073960
Summary: | kernel 3.14 CONFIG_DRM_TEGRA_FBDEV=y on arm tegra | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nicolas Chauvet (kwizart) <kwizart> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | airlied, ajax, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab, pbrobinson, rclark |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | arm | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-03-18 13:30:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 245418 |
Description
Nicolas Chauvet (kwizart)
2014-03-07 15:01:24 UTC
You didn't really need to open a bug for this. I was waiting for an ACK on the list from the ARM people. Who knows. Maybe they'll respond now that there's a bug. Thx for the answear, I raise the point on IRC with peter and fedora-arm meeting, but that wasn't enought to make misunderstandings to disappear. I was said to report the bug in out bugzilla. (In reply to Nicolas Chauvet (kwizart) from comment #2) > Thx for the answear, I raise the point on IRC with peter and fedora-arm > meeting, but that wasn't enought to make misunderstandings to disappear. > I was said to report the bug in out bugzilla. I don't see what the misunderstanding is here, it's certainly on my side. You've asked me about this 3-4 times already and all times my response has been the same. You come out with comments like "I don't undertand your current mood theses day" which I feel is completely unnecessary and my mood regarding this hasn't changed. We've actively tried to move towards KMS as the only option on ARM as fbdev even on x86 is "fbdev available as last-ditch fallbacks" and is a legacy option on the way out. We don't actively enable it on any of the other ARM platforms. https://lists.fedoraproject.org/pipermail/devel/2013-August/188429.html I've asked you on all occasions to provide detailed reasoning as to why it's needed and it wasn't in the past. simplefb might be another option we currently enable on ARM too http://cateee.net/lkddb/web-lkddb/FB_SIMPLE.html Adam, Dave, Can we have a graphical advice about this kernel option. (mandatory on graphical tegra, as proven by my owns tests) My point is still explained in #c1 According to this thread it shouldn't be needed just for the console. To quote the thread: > Good point. Stephen, would it be a problem to make this a KMS driver > instead? Old fbdev API could be emulated on top of it, until it goes out > of use, couldn't it? There's already an fbdev emulation layer in KMS, for such a simple use case it will work fine. http://lists.infradead.org/pipermail/linux-arm-kernel/2013-April/165946.html I read that as KMS already has the bits needed for basic console I meant SimpleDRM rather than SimpleFB http://lists.freedesktop.org/archives/dri-devel/2014-January/052584.html (In reply to Peter Robinson from comment #5) ... > I read that as KMS already has the bits needed for basic console And this is true. But this requires CONFIG_DRM_TEGRA_FBDEV=y in the tegra case. The proof of this, reported by testing, is that I cannot get a text console working if the tegra_drm.ko isn't loaded (as said in reproduce step 2) This tegra_drm.ko is indeed a KMS driver in 3.14. Now in this case a linux console can be provided if and only if using CONFIG_DRM_TEGRA_FBDEV=y Because as the help says. " Note that this support also provides the __Linux console__ on top of the Tegra modesetting driver." Also one cannot enable CONFIG_DRM_TEGRA_FBDEV=y alone (without CONFIG_DRM_TEGRA). Because this option is actually the _fbdev emulation_ layer in KMS you are referring to. So it's tight to CONFIG_DRM_TEGRA (aka the KMS driver) been enabled. I've indeed hereby report that my tests show that __without__ this option, I can load the tegra_drm and run Xorg without problem, but I __cannot__ have a linux text console. Now I cannot understand why one could think he would better wait for simple_drm over just use tegra_drm in the tegra case. simple_drm fits for oldgraphics vesa* and raspberry-pi or when there is no better driver available. But it would pass the support to the real hardware driver if any anyway. (as the helper says) So it still matters to have the tegra_drm properly configured for our current userland. There is no solution to expect from simple_drm as we aim to use tegra_drm. So having CONFIG_DRM_TEGRA_FBDEV=y is required as soon as using a linux console is a mandatory feature in Fedora primaries architectures. @Peter If for some reason there is anything in this answear that you disagree with, please at least ask for a third person to report from real hardware tests. I've made a scratch build of the rc7 kernel with this options (and few others) http://koji.fedoraproject.org/koji/taskinfo?taskID=6640652 http://people.fedoraproject.org/cgit/kwizart/public_git/kernel.git/log/?h=wip (In reply to Peter Robinson from comment #5) > According to this thread it shouldn't be needed just for the console. To > quote the thread: > > > Good point. Stephen, would it be a problem to make this a KMS driver > > instead? Old fbdev API could be emulated on top of it, until it goes out > > of use, couldn't it? > > There's already an fbdev emulation layer in KMS, for such a simple use case > it > will work fine. > > http://lists.infradead.org/pipermail/linux-arm-kernel/2013-April/165946.html > > I read that as KMS already has the bits needed for basic console I think I can clear up a bit of confusion here.. recently tegra (and some of the other drm drivers.. incl msm and I think i915) added kconfig options to enable/disable the KMS fbdev emulation. The main use case for CONFIG_DRM_TEGRA_FBDEV=n is for systems which do not need fbcon, vt switching, etc. (Ie. things like android) But we aren't ready for that yet in fedora, or really any linux a desktop system. We'd need kmscon and a few other things before we could drop the fbdev emulation. So please, CONFIG_DRM_TEGRA_FBDEV=y is the correct solution. Thanks Rob. That helps. Fixed in git and should be in the next rawhide build. |