linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dave Airlie <airlied@gmail.com>
To: Michal Suchanek <hramrach@centrum.cz>
Cc: dri-devel@lists.sourceforge.net,
	linux-fbdev-devel@lists.sourceforge.net,
	Paulius Zaleckas <paulius.zaleckas@gmail.com>
Subject: Re: [Linux-fbdev-devel] drm_fb_helper: Impossible to change video  mode
Date: Wed, 3 Mar 2010 19:23:37 +1000	[thread overview]
Message-ID: <21d7e9971003030123q2e5d073dj68a81d612e26dc94@mail.gmail.com> (raw)
In-Reply-To: <a5d587fb1003030023l355eab4dtb9f4cd62058dea3e@mail.gmail.com>

>>
>>
>> I've only really got two answer for this:
>>
>> (a) hook up another /dev/dri/card_fb device and use the current KMS
>> ioctls to control the framebuffer, have the drm callback into fbdev/fbcon
>> to mention resizes etc. Or add one or two info gathering ioctls and
>> allow use of the /dev/dri/control device to control stuff.
>>
>
> What about writing a drmfbset or something and have fbset call it when
> it detects a drm framebuffer and warn that it does not support drm
> framebuffers fully?
>

My main problem with calling the drm underneath the fbdev is it
seems like a layering violation. Then again some of code in the kernel
is also contributing to this violation. I'd really like to make fbdev more
like an in-kernel version of what X driver have to do, and leave all the
initial modepicking etc to the fbdev interface layer.

If we take  the layering as
fbcon -> fbdev -> kms -> hw

I feel calling ioctls on the KMS layer from userspace to do stuff for
fbcon or fbdev
is wrong, and we should rather expose a more intelligent set of ioctls via the
fbdev device node. This points at quite a bit of typing.

So we'd need to add a bunch of KMS fb specifc ioctl like some of the other fbdev
drivers do, and then a new fbset could tkae advantage of these. I'm not sure
how much different to the current kms interface or how powerful we really need
to make tihs interface though, and I feel kinda bad implementing it without
some idea what users would want from it.

Dave.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

  reply	other threads:[~2010-03-03  9:23 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-20 13:16 [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Paulius Zaleckas
2009-11-20 15:55 ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video Clemens Ladisch
2009-11-20 18:53 ` James Simmons
2009-11-20 19:05 ` Andrew Morton
2009-11-20 19:39 ` Paulius Zaleckas
2009-11-20 20:01 ` James Simmons
2009-11-20 20:13 ` Paulius Zaleckas
2009-11-20 20:48 ` James Simmons
2009-11-21  4:25 ` Dave Airlie
2009-11-21  4:27 ` Dave Airlie
2010-03-01  9:18   ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Michal Suchanek
2010-03-03  5:02     ` Dave Airlie
2010-03-03  8:23       ` Michal Suchanek
2010-03-03  9:23         ` Dave Airlie [this message]
2010-03-03 10:32           ` Michal Suchanek
2010-03-10 18:11             ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-10 21:04               ` Ville Syrjälä
2010-03-10 21:16                 ` Michal Suchanek
2010-03-11  2:24                   ` James Simmons
2010-03-11  2:22                 ` James Simmons
2010-03-11  5:03                   ` Ville Syrjälä
2010-03-10 18:04           ` James Simmons
2010-03-10 17:42       ` James Simmons
2010-03-10 18:05         ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Alex Deucher
2010-03-10 18:10           ` Alex Deucher
2010-03-10 18:47             ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-10 19:49               ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Michal Suchanek
2010-03-10 20:06               ` Alex Deucher
2010-03-11 10:13             ` Michel Dänzer
2010-03-11 10:31               ` Pauli Nieminen
2010-03-11 15:12               ` Alex Deucher
2010-03-11 15:17                 ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-11 15:47                   ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Michal Suchanek
2010-03-12 14:52                     ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-12 20:51                       ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Dave Airlie
2010-03-13 14:40                         ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-13 21:01                           ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Dave Airlie
2010-03-14 11:41                             ` Michel Dänzer
2010-03-15 18:38                               ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-16 13:46                                 ` Michel Dänzer
2010-03-16 13:56                                   ` James Simmons
2010-03-16 14:00                                     ` Michel Dänzer
2010-03-25 12:30                                       ` James Simmons
2010-03-15 18:22                             ` James Simmons
2010-03-10 20:58         ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode Michal Suchanek
2010-03-11  3:41           ` [Linux-fbdev-devel] drm_fb_helper: Impossible to change video James Simmons
2010-03-10 17:35     ` James Simmons

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=21d7e9971003030123q2e5d073dj68a81d612e26dc94@mail.gmail.com \
    --to=airlied@gmail.com \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=hramrach@centrum.cz \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=paulius.zaleckas@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).