From: jfj <jfj@freemail.gr>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Status of WAITFORVSYNC (waitretrace)
Date: Mon, 25 Sep 2006 06:23:44 -0700 [thread overview]
Message-ID: <4517D860.8080603@freemail.gr> (raw)
In-Reply-To: <96AEB292-5B41-4436-80C4-104EE418556C@pobox.com>
Torgeir Veimo wrote:
>My patch for radeonfb was turned down since using that ioctl might
>freeze kernel if the drm kernel module is active and is using the
>same interrupt. I think an alternative option would be to disable it
>by default unless a kernel module param is set when loading radeonfb,
>since it's currently a bit difficult to get inter module
>communication between the drm and radeonfb modules. I never got
>around to resubmit a modified patch though.
>
>
>
Wow. What a mess. If two different subsystems (fb and drm) implement
access to the same hardware, serious problems like this can happen
(at least if one is using X and fb programs at the same time), as
well as duplicate work, increasing size of the kernel, maintenance
troubles, etc.
The right way to solve this, would be a common sub-subsystem which
should be shared between drm and fb, but that's very hairy and
nobody is going to do it.
It's a pity though because WAITFORVSYNC is an important function
to do nice stuff with the framebuffer, there is interest from people
to implement this for the various cards, there is interest from the
userspace to use it, it adds very little code to the kernel and it
improves the overall functionallity of the framebuffer system :(
(and even the polling & watchdog method would be acceptable, because
that's what people do in the end from userland, with iopl() and inb()).
jf
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
prev parent reply other threads:[~2006-09-25 13:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-24 9:53 Status of WAITFORVSYNC (waitretrace) jfj
2006-09-24 11:57 ` Torgeir Veimo
2006-09-25 13:23 ` jfj [this message]
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=4517D860.8080603@freemail.gr \
--to=jfj@freemail.gr \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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 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.