mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vladimir Dergachev <volodya@mindspring.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Jon Smirl <jonsmirl@gmail.com>, Dave Airlie <airlied@linux.ie>,
	DRI Devel <dri-devel@lists.sourceforge.net>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: Merging DRM and fbdev
Date: Sun, 3 Oct 2004 21:56:37 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.61.0410032047040.18796@node2.an-vo.com> (raw)
In-Reply-To: <1096841964.16457.17.camel@localhost.localdomain>



On Sun, 3 Oct 2004, Alan Cox wrote:

> On Sul, 2004-10-03 at 16:50, Vladimir Dergachev wrote:
>> In particular, I can contribute the code that does Framebuffer->System Ram
>> transfers over PCI/AGP. It is currently GPL licensed, but there is no
>> problem if BSD folks want it too.
>
> This will do *wonders* to X render performance if used properly on those
> cards we can't do render in hardware.
>
>> This is also potentially useful for any Mesa functions that want to
>> transfer data back from video RAM - using plain reads for this is really slow.
>
> Agreed - and Mesa tends to skip even tricks like SSE2 that can quadruple
> read performance.

I am glad to see such enthusiasm :)

The code I have only does it on ATI cards (all radeons, all rage128, some 
mach64). The radeon code is the one that is known to work well.

My personal interest is that Framebuffer -> System Ram transfer is needed
if one wants to use Radeon GPUs for numerical computation. Thus, if there 
is an agreement on what needs to be done and what modifications are 
acceptable I can make this a priority.

What kind of interface would different projects want ? Should I wait for 
Jon's modifications to complete ? What people should we include on CC list ?

Also here is a short description of current km design:

     * km.[c,h] - this provides module registration and DMA queue
       virtualization (note: this is GUI_DMA queue, different from what
       DRM uses)

     * radeon.c, rage128.c, mach64.c - these are hardware specific
       functions

     * km_memory.[c,h] - this is v4l code for reverse mapping, I guess
       it is obsolete in 2.6.x kernels

     * km_api.[c,h] km_api_data.[c,h] - this is a new interface for
       video (and similar devices), an experiment to implement features
       not present in v4l or v4l2.
       ** I am not suggesting this be included. **

     * km_v4l.c - this is a client of km_api that provides v4l
       interface.

The first two pieces can be ported with ease - there are few modifications 
to be made, just cut the code that registers the driver.

The km_api piece will need to be replaced with interface everyone agrees 
on.

Please let me know your comments !

                         best

                            Vladimir Dergachev



>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> --
> _______________________________________________
> Dri-devel mailing list
> Dri-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dri-devel
>

  reply	other threads:[~2004-10-04  1:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-03  3:55 Jon Smirl
2004-10-03  7:26 ` Dave Airlie
2004-10-03 15:33   ` Jon Smirl
2004-10-03 15:50     ` Vladimir Dergachev
2004-10-03 16:24       ` Jon Smirl
2004-10-03 16:59         ` Vladimir Dergachev
2004-10-03 17:55           ` Jon Smirl
2004-10-03 20:37             ` Vladimir Dergachev
2004-10-03 22:42               ` Jon Smirl
2004-10-03 22:16                 ` Alan Cox
2004-10-03 22:19       ` Alan Cox
2004-10-04  1:56         ` Vladimir Dergachev [this message]
2004-10-03 18:38     ` Mike Mestnik
2004-10-03 18:56       ` Jon Smirl
2004-10-04 19:48         ` Bill Davidsen
2004-10-03 16:46   ` Jon Smirl
2004-10-04 17:47     ` Tonnerre
2004-10-04 18:42       ` Jon Smirl

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=Pine.LNX.4.61.0410032047040.18796@node2.an-vo.com \
    --to=volodya@mindspring.com \
    --cc=airlied@linux.ie \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=jonsmirl@gmail.com \
    --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®