Skip to contentSkip to conversation

mmap problems ? in 2.4.5

DISCUSSION Scott A McConnell 4 participants 5 messages Jun 26, 2001 MIPS

lore
Share & tools
lore
#0 lore raw

I have a simple program that maps a frame buffer into user space and draws an image
onto the fb.

This program worked fine under 2.4.3 however under 2.4.5 the program runs but nothing appears on the FB. The memory I am writing to does not appear to be the frame buffer.

Nothing has changed in my fb driver so I am wondering if anything has changed in how memory is mapped via the kernel?

Thanks for your consideration

Signature · 1 line
Scott A. McConnell
#1 lore raw
Quoted 4 lines · Scott A McConnell

I have a simple program that maps a frame buffer into user space and draws an image
onto the fb.

Quoted 9 lines

This program worked fine under 2.4.3 however under 2.4.5 the program runs but nothing appears on the FB. The memory I am writing to does not appear to be the frame buffer.

Nothing has changed in my fb driver so I am wondering if anything has changed in how memory is mapped via the kernel?

Thanks for your consideration

I believe the frame buffer driver interface changed in 2.4.5. It supposed to be much cleaner now and the fb driver has to do less than before. You'll probably need to port your driver to 2.4.5. If you have any problems, I think the fb maintainers can help you out.

Pete

#2 lore raw
Quoted 9 lines · Pete Popov
Quoted 8 lines · Scott A McConnell

I have a simple program that maps a frame buffer into user space and draws an image
onto the fb.

This program worked fine under 2.4.3 however under 2.4.5 the program runs but nothing appears on the FB. The memory I am writing to does not appear to be the frame buffer.

Quoted 7 lines
Quoted 3 lines

Nothing has changed in my fb driver so I am wondering if anything has changed in how memory is mapped via the kernel?

I believe the frame buffer driver interface changed in 2.4.5. It supposed to be much cleaner now and the fb driver has to do less than before. You'll probably need to port your driver to 2.4.5. If you have any problems, I think the fb maintainers can help you out.

No, those fundamental changes are scheduled for 2.5.x.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven ------------- Sony Software Development Center Europe (SDCE) [email protected] ------------------- Sint-Stevens-Woluwestraat 55 Voice +32-2-7248626 Fax +32-2-7262686 ---------------- B-1130 Brussels, Belgium

#3 lore raw
In reply to Pete Popov
Quoted 5 lines

I believe the frame buffer driver interface changed in 2.4.5. It supposed to be much cleaner now and the fb driver has to do less than before. You'll probably need to port your driver to 2.4.5. If you have any problems, I think the fb maintainers can help you out.

Thats the wrapper I wrote so drivers could be written with the new api while using 2.4.X. It hasn't gone in. Plus when/if it does it should have a effect on any core code in fbcon.