linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Keith Williams <espian@linuxinstruments.com>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Enabling Hardware acceleration in existing framebuffer driver
Date: Fri, 04 Jul 2008 12:33:57 -0400	[thread overview]
Message-ID: <486E50F5.5070401@linuxinstruments.com> (raw)
In-Reply-To: <20080704182215.6f64f848.krzysztof.h1@poczta.fm>


> The fillrect acceleration is probably used but rarely. 
> One sure way to trigger it is to issue the "clear" command on the 
> frame buffer console. Try "time clear" on a big resolution screen with and 
> without your change. You should see a difference from few to few tens times
> in speed.
>
> The more useful is both the copyarea and imageblit acceleration. Both are
> used during console scrolling (the imageblit is preferred but on some cards
> the copyarea is faster).
>
> I don't know about the DirectFB so I cannot comment.
>
>   

Thanks for the reply.

The fillrect was the simplest to implement.  I agree that the others
will be much higher value.

In DirectFB there are a set of benchmarks that run through all of the
different drawing types including filled rectangles.  That is what I am
using as my baseline.

However, even with the above code I don't see a change in the benchmark
numbers leading me to believe that the acceleration is not being used.

Additionally, fbset shows accel to be false.  Even if I do a "fbset
-accel true", it still reports false.

This is why I don't believe that the acceleration is being picked-up.
Any other ideas with the driver code/things that I am missing?

Thanks,

Keith



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

  reply	other threads:[~2008-07-04 16:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-04 15:56 Enabling Hardware acceleration in existing framebuffer driver Keith Williams
2008-07-04 16:22 ` Krzysztof Helt
2008-07-04 16:33   ` Keith Williams [this message]
2008-07-04 17:32     ` Krzysztof Helt
2008-07-04 18:21       ` Ville Syrjälä
2008-07-04 19:09         ` Robert Reif

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=486E50F5.5070401@linuxinstruments.com \
    --to=espian@linuxinstruments.com \
    --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 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).