* RE: "remap_page_range" i810 compile time problem ..
@ 2005-03-11 6:36 Mukund JB.
2005-03-11 11:05 ` Antonino A. Daplas
0 siblings, 1 reply; 4+ messages in thread
From: Mukund JB. @ 2005-03-11 6:36 UTC (permalink / raw)
To: adaplas, linux-fbdev-devel, linux-fbdev-users
Hi adaplas,
Thankful to u for making things clear at every level.
> > But when I try this without accel=1 rotation fails. Can u just
narrate
> > me what is accel accentually doing?
>
> Because if accel is on, the driver is using it's own version of
drawing
> functions which are flexible enough that additional features can be
added,
> such as screen rotation.
>
> If accel is off, the driver will use the generic functions which
cannot do
> screen rotation. Of course, one can write a software version that can
do
> screen rotation.
So, u mean the i810fb driver will process the command line parameters &
if finds the accel is "1" in the list, it will use its own functions or
else it will use the generic functions provided in the fbgen.c file.
This is my understanding about fb driver architecture
Application
-----------
XFree86 / Directfb (Embedded)
-----------
FB driver
-----------
HARDWARE
Are these files below a part of fb driver or do they come under a
different level in fb driver architecture?
fbcon.c - low level framebuffer based console driver
fbcon-cfb* - low level framebuffer based operations for 8 bpp packed
pixels
How do I differentiate between the above two?
fbcmap.c - It handles color mapping
fbcon-plan2p*
I find fbdevhw.a & I find groups referring to it.
I think it is a library. If so, give me some inputs where we can use it.
Please do correct if I am going OFF-TRACK understanding FB drivers.
Where exactly should I place the fbdevhw.a in the above shown
architecture?
Regards,
Mukund jampala
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: "remap_page_range" i810 compile time problem ..
2005-03-11 6:36 "remap_page_range" i810 compile time problem Mukund JB.
@ 2005-03-11 11:05 ` Antonino A. Daplas
0 siblings, 0 replies; 4+ messages in thread
From: Antonino A. Daplas @ 2005-03-11 11:05 UTC (permalink / raw)
To: linux-fbdev-devel, Mukund JB., adaplas, linux-fbdev-users
On Friday 11 March 2005 14:36, Mukund JB. wrote:
> Hi adaplas,
>
> Thankful to u for making things clear at every level.
>
> > > But when I try this without accel=1 rotation fails. Can u just
>
> narrate
>
> > > me what is accel accentually doing?
> >
> > Because if accel is on, the driver is using it's own version of
>
> drawing
>
> > functions which are flexible enough that additional features can be
>
> added,
>
> > such as screen rotation.
> >
> > If accel is off, the driver will use the generic functions which
>
> cannot do
>
> > screen rotation. Of course, one can write a software version that can
>
> do
>
> > screen rotation.
>
> So, u mean the i810fb driver will process the command line parameters &
> if finds the accel is "1" in the list, it will use its own functions or
> else it will use the generic functions provided in the fbgen.c file.
Above is correct, except that i810fb, if accel is disabled will use the
functions in fbcon-cfb*.c, not fbgen.c.
>
> This is my understanding about fb driver architecture
>
> Application
> -----------
> XFree86 / Directfb (Embedded)
> -----------
> FB driver
> -----------
> HARDWARE
>
> Are these files below a part of fb driver or do they come under a
> different level in fb driver architecture?
The above is correct, assuming that XFree86 uses the 'fbdev' driver.
>
> fbcon.c - low level framebuffer based console driver
> fbcon-cfb* - low level framebuffer based operations for 8 bpp packed
> pixels
> How do I differentiate between the above two?
fbcon.c is the glue between console and fbdev. fbcon-cfb* contains
generic drawing functions for framebuffers with packed pixel format.
>
> fbcmap.c - It handles color mapping
> fbcon-plan2p*
>
> I find fbdevhw.a & I find groups referring to it.
fbdevhw, if I'm not mistaken, came from XFree86/Xorg. It contains
helper functions used by XFree86 to talk to fbdev.
> I think it is a library. If so, give me some inputs where we can use it.
> Please do correct if I am going OFF-TRACK understanding FB drivers.
>
> Where exactly should I place the fbdevhw.a in the above shown
> architecture?
Probably between XFree86 and fbdev.
Tony
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* "remap_page_range" i810 compile time problem ..
@ 2005-03-09 11:14 Mukund JB.
2005-03-09 15:12 ` Antonino A. Daplas
0 siblings, 1 reply; 4+ messages in thread
From: Mukund JB. @ 2005-03-09 11:14 UTC (permalink / raw)
To: linux-fbdev-users, linux-fbdev-devel
Hi all,
I have problem with compiling the i810fb driver downloaded from
Sourceforge site.
I have D/W the i810fb patch "linux-i810fb-0.0.35.tar.bz2".
When I run the make modules I get the following error
i810_main.c: 643: warning: passing arg 1 of 'remap_page_range_R2baf18f2'
makes pointer from integer without a cast
i810_main.c: 643: incompatible type for argument 4 of
'remap_page_range_R2baf18f2'
i810_main.c: 643: too few arguments to function
'remap_page_range_R2baf18f2'
Make[3]: *** [I810_main.c] Error 1
........
......
The call to "remap_page_range()" is as follows:-
return (io_remap_page_range(vma->vm_start, off, vma->vm_end -
vma->vm_start, vma->vm_page_prot)) ? -EAGAIN : 0;
I am running Redhat 9 Linux.
Regards,
Mukund jampala
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: "remap_page_range" i810 compile time problem ..
2005-03-09 11:14 Mukund JB.
@ 2005-03-09 15:12 ` Antonino A. Daplas
0 siblings, 0 replies; 4+ messages in thread
From: Antonino A. Daplas @ 2005-03-09 15:12 UTC (permalink / raw)
To: linux-fbdev-devel, Mukund JB., linux-fbdev-users
On Wednesday 09 March 2005 19:14, Mukund JB. wrote:
> Hi all,
>
> I have problem with compiling the i810fb driver downloaded from
> Sourceforge site.
> I have D/W the i810fb patch "linux-i810fb-0.0.35.tar.bz2".
>
> When I run the make modules I get the following error
Try the i810fb-lite driver. If that does not work, let me know what
kernel version you are using.
I haven't updated the driver for quite some time so it may be suffering
from bitrot.
Tony
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-11 11:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-11 6:36 "remap_page_range" i810 compile time problem Mukund JB.
2005-03-11 11:05 ` Antonino A. Daplas
-- strict thread matches above, loose matches on Subject: below --
2005-03-09 11:14 Mukund JB.
2005-03-09 15:12 ` Antonino A. Daplas
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).