From: Antonino Daplas <adaplas@gmail.com>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Get the line length from sysfs.
Date: Thu, 22 Sep 2005 18:19:43 +0800 [thread overview]
Message-ID: <b00ca3bd05092203193d60c612@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.62.0509221137530.18908@numbat.sonytel.be>
On 9/22/05, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> On Wed, 21 Sep 2005, James Simmons wrote:
> > Let me know if this is acceptable. Some people might not like the name.
> >
> >
> > --- linus-2.6/drivers/video/fbsysfs.c 2005-07-31 15:45:22.000000000 -0700
> > +++ fbdev-2.6/drivers/video/fbsysfs.c 2005-09-21 13:54:02.000000000 -0700
> > @@ -242,6 +242,13 @@
> > fb_info->var.yres_virtual);
> > }
> >
> > +static ssize_t show_stride(struct class_device *class_device, char *buf)
> > +{
> > + struct fb_info *fb_info =
> > + (struct fb_info *)class_get_devdata(class_device);
> > + return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->fix.line_length);
>
> Do all drivers set fix.line_length these days?
>
They have to, if they want to use any of the cfb_* drawing functions.
Tony
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
prev parent reply other threads:[~2005-09-22 10:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-21 21:03 Get the line length from sysfs James Simmons
2005-09-21 23:27 ` Kronos
2005-09-22 9:38 ` Geert Uytterhoeven
2005-09-22 10:19 ` Antonino Daplas [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=b00ca3bd05092203193d60c612@mail.gmail.com \
--to=adaplas@gmail.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 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.