2003-07-03 17:41:38

by James Simmons

[permalink] [raw]
Subject: New fbdev updates.


Hi!

I have updates to the framebuffer layer. Alot of bug fixes accumlated.
A couple of driver updates as well. I have more code to go in but haven't
had time to add them in. Please test. This is not the final code going in
just yet. More needs to be done. The patches are at the usual

http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz

or BK
bk://fbdev.bkbits.net/fbdev-2.5

Note:
The NVIDIA driver hasn't been updated to the new cursor fixes. I
haven't had time to fix it yet. So it doesn't compile. Also the i810
driver might have issues with the cursor changes.
Skeleton i2c support is added. It hasn't been tested or even compiles
in yet.

Documentation/fb/neofb.txt | 27
MAINTAINERS | 5
drivers/char/vt_ioctl.c | 12
drivers/video/Kconfig | 62
drivers/video/Makefile | 4
drivers/video/cfbimgblt.c | 2
drivers/video/chipsfb.c | 4
drivers/video/console/fbcon.c | 351 -
drivers/video/console/fbcon.h | 2
drivers/video/controlfb.c | 10
drivers/video/epson1355fb.c | 967 +++--
drivers/video/fbmem.c | 105
drivers/video/g364fb.c | 78
drivers/video/logo/logo.c | 5
drivers/video/macfb.c | 34
drivers/video/neofb.c | 198 -
drivers/video/platinumfb.c | 10
drivers/video/pvr2fb.c | 846 +---
drivers/video/riva/fbdev.c | 2
drivers/video/sis/300vtbl.h | 2426 +++----------
drivers/video/sis/310vtbl.h | 2495 ++------------
drivers/video/sis/init.c | 1816 ++++++----
drivers/video/sis/init.h | 2335 ++++++++++++-
drivers/video/sis/init301.c | 7444 +++++++++++++++++++++---------------------
drivers/video/sis/init301.h | 209 -
drivers/video/sis/initdef.h | 169
drivers/video/sis/oem300.h | 495 --
drivers/video/sis/oem310.h | 31
drivers/video/sis/osdef.h | 122
drivers/video/sis/sis_accel.c | 66
drivers/video/sis/sis_accel.h | 10
drivers/video/sis/sis_main.c | 3194 +++++++++---------
drivers/video/sis/sis_main.h | 509 +-
drivers/video/sis/vgatypes.h | 63
drivers/video/sis/vstruct.h | 116
drivers/video/skeletonfb.c | 74
drivers/video/softcursor.c | 72
drivers/video/valkyriefb.c | 548 ---
drivers/video/vesafb.c | 17
drivers/video/vgastate.c | 1
include/linux/fb.h | 88
include/linux/linux_logo.h | 4
include/video/epson1355.h | 64
include/video/neomagic.h | 241 -
include/video/sisfb.h | 85
45 files changed, 12788 insertions(+), 12630 deletions(-)

through these ChangeSets:

<jsimmons@kozmo.(none)> (03/07/03 1.1251)
[NEOMAGIC FBDEV] Fixed a nasty bug in the copyarea function. It wasn't testing for the condition when both regions have the same y coordinates but are over lapping. This casued a corrpution of data. Also started ot used the macros in vga.h.

<jsimmons@kozmo.(none)> (03/06/30 1.1246)
[LOGO] Display the correct logo for MIPS DEC workstations.

<jsimmons@kozmo.(none)> (03/06/25 1.1240)
[FBCON] Removed the crappy ROP_COPY/ROP_XOR test for flashing the cursor. Now we disable and enable the cursor timer instead.

<jsimmons@kozmo.(none)> (03/06/24 1.1238)
[FBDEV] Now we can use a specific hardware mapper for different hardware functionality.

<jsimmons@kozmo.(none)> (03/06/23 1.1234)
[VGA CORE] Added needed vmalloc header.

<jsimmons@kozmo.(none)> (03/06/23 1.1231)
[FBCON] When using 512 characters, the mouse pointer starts using the wrong complement_mask after a console reset.

<jsimmons@kozmo.(none)> (03/06/23 1.1230)
[FBDEV] Made chipsfb/controlfb/platinumfb use the xxfb kernel command line string.

<[email protected]> (03/06/18 1.1226)
[MAC FBDEV] Bug fixes.

<[email protected]> (03/06/15 1.1222)
[SIS FBDEV] More updates for the SIS driver.

<[email protected]> (03/06/14 1.1220)
[CONTROL/PLATINUM FBDEV] Fix to match change in fb_set_var.

<[email protected]> (03/06/10 1.1216)
[FBDEV] Fixed a issue with soft_cursor. It only worked with drivers with a pixmap.scan_align of 1. Now it will work with any.

<jsimmons@kozmo.(none)> (03/06/07 1.1210)
[SIS FBDEV] Fixed sysnc issue.

<jsimmons@kozmo.(none)> (03/06/05 1.1206)
[FBCON] Cleared out the struct fb_cursor we passed in. Other wise we get random data being used.

<jsimmons@kozmo.(none)> (03/05/30 1.1201)
[FBDEV GENERIC ACCEL] Fixed why logo was not displayed for some.

<[email protected]> (03/05/24 1.1188.1.3)
[VALKYRUE FBDEV] Ported to new api.

<[email protected]> (03/05/23 1.1188.1.1)
[FBDEV] Updates to explain the new cursor api.

<[email protected]> (03/05/23 1.1188)
[EPSON FRAMEBUFFER] Ported to the new api. Added support for the arm platform.

<[email protected]> (03/05/15 1.1127.2.18)
[SIS FBDEV] SIS Framebuffer updates.
- Added preliminary and untested support for SiS660
- Added DDC support
- Enhanced proprietary programming API for compatibility with X driver
and upcoming SDL updates and upcoming vidix driver for mplayer
- Fixes for video bridge output on various HW combinations
- Fixes in TV detection
- Reduced source size by removing duplicated data
- Updated Kconfig descriptions

<[email protected]> (03/05/14 1.1113.1.2)
[PVR2 FBDEV] Port of the Dreamcast Frambuffer to the new api.

<[email protected]> (03/05/12 1.1063.3.19)
[FBCON] set_con2fb_map wasn't testing to see the VC we where mapping to actually exist. Now it does.

I add code to fbcon_cursor to reset the hotspot if it was changed by userland.

<[email protected]> (03/05/12 1.1063.3.17)
[RIVA FBDEV] Removal of exccess variable. Kills off a few warnings.

<[email protected]> (03/05/12 1.1063.3.16)
[VESA FBDEV] Removed the EDID code. The results where mixed. It worked for some but not for others.

<[email protected]> (03/05/12 1.1063.3.15)
[CONSOLE] This patch fixes the problem of not being able to set the fonts on VCs other than the first one. This also was the bug that was casuing dual head (vga and mda) to lock up.

<jsimmons@kozmo.(none)> (03/05/02 1.1042.122.2)
[FBDEV] Synced to kdev_t change.

<jsimmons@kozmo.(none)> (03/04/22 1.1042.37.2)
[FBDEV] Moved pixmap to the kernel side of the header. Will not be needed for ioctl calls at the present time.

[FBCON] Lots more optimizations.

<jsimmons@kozmo.(none)> (03/04/21 1.1042.37.1)
[LOGO] Removed fb_ prefix. Wil be used by other drivers such as the newport driver.

[G354 FBDEV] Now use the final cursor api.



2003-07-03 18:22:55

by Joshua Kwan

[permalink] [raw]
Subject: Re: New fbdev updates.

Hi James,

On Thu, Jul 03, 2003 at 06:55:58PM +0100, James Simmons wrote:
>
> Hi!
>
> I have updates to the framebuffer layer. Alot of bug fixes accumlated.
> A couple of driver updates as well. I have more code to go in but haven't
> had time to add them in. Please test. This is not the final code going in
> just yet. More needs to be done. The patches are at the usual
>
> http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz

I was wondering whether you are working on the radeonfb issue in 2.5
since forever that there is a lot of multicolored garbage on the screen
initially when the kernel starts, and the first clear text seen are ACPI
notices. Is it an issue of transferring what was written to the display
in raw mode to the FB? The 2.4 radeonfb driver does not have this
issue.

This is one of the last things on my 2.5 wishlist for me, I'll die a
happy man if you can fix it :)

-Josh

--
"Notice that, written there, rather legibly, in the Baroque style common
to New York subway wall writers, was, uhm... was the old familiar
suggestion. And rather beautifully illustrated, as well..."

-- Art Garfunkel on the inspiration for "A Poem On The Underground Wall"


Attachments:
(No filename) (1.17 kB)
(No filename) (189.00 B)
Download all attachments

2003-07-04 00:56:00

by Ben Collins

[permalink] [raw]
Subject: Re: New fbdev updates.

On Thu, Jul 03, 2003 at 06:55:58PM +0100, James Simmons wrote:
>
> Hi!
>
> I have updates to the framebuffer layer. Alot of bug fixes accumlated.
> A couple of driver updates as well. I have more code to go in but haven't
> had time to add them in. Please test. This is not the final code going in
> just yet. More needs to be done. The patches are at the usual

Seems my old corrupt cursor is fixed, but with your new code I am
getting ghost cursors left behind while moving around in vim over ssh
with syntax on.

--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo - http://www.deqo.com/

2003-07-04 08:41:47

by Joshua Kwan

[permalink] [raw]
Subject: Re: New fbdev updates.

On Thu, Jul 03, 2003 at 07:50:39PM -0400, Ben Collins wrote:
> Seems my old corrupt cursor is fixed, but with your new code I am
> getting ghost cursors left behind while moving around in vim over ssh
> with syntax on.

I am noticing too, but this is local. In fact I am seeing a bunch of
ghost cursors as I edit this message :)

-Josh

--
"Notice that, written there, rather legibly, in the Baroque style common
to New York subway wall writers, was, uhm... was the old familiar
suggestion. And rather beautifully illustrated, as well..."

-- Art Garfunkel on the inspiration for "A Poem On The Underground Wall"


Attachments:
(No filename) (623.00 B)
(No filename) (189.00 B)
Download all attachments

2003-07-04 11:31:44

by Luca

[permalink] [raw]
Subject: Re: [Linux-fbdev-devel] Re: New fbdev updates.

Il Thu, Jul 03, 2003 at 07:50:39PM -0400, Ben Collins ha scritto:
> > I have updates to the framebuffer layer. Alot of bug fixes accumlated.
> > A couple of driver updates as well. I have more code to go in but haven't
> > had time to add them in. Please test. This is not the final code going in
> > just yet. More needs to be done. The patches are at the usual
>
> Seems my old corrupt cursor is fixed, but with your new code I am
> getting ghost cursors left behind while moving around in vim over ssh
> with syntax on.

Same here. I can see the ghost cursor also when typing fast on the shell
(via ssh) and the hit backspace, arrows, home, end. I don't see it using
normal tty (the kernel is the same, I just did ssh ::1).

Btw, the cursor doesn't disappear anymore switching back and forth from
X.

Luca
--
Reply-To: [email protected]
Home: http://kronoz.cjb.net
It can't rain forever,
but you can die before seeing the sun again.

2003-07-04 12:28:16

by Scott Robert Ladd

[permalink] [raw]
Subject: Re: New fbdev updates.

James Simmons wrote:
> I have updates to the framebuffer layer. Alot of bug fixes accumlated.
> A couple of driver updates as well. I have more code to go in but haven't
> had time to add them in. Please test. This is not the final code going in
> just yet. More needs to be done.

Any chance of getting the radeonfb DFP-on-DVI working? I'm more than
willing to work on it, if no one else has the hardware. I can at least
try to get it working on the Radeon 9000.

--
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)



2003-07-08 22:30:37

by James Simmons

[permalink] [raw]
Subject: Re: New fbdev updates.


> I was wondering whether you are working on the radeonfb issue in 2.5
> since forever that there is a lot of multicolored garbage on the screen
> initially when the kernel starts, and the first clear text seen are ACPI
> notices. Is it an issue of transferring what was written to the display
> in raw mode to the FB? The 2.4 radeonfb driver does not have this
> issue.
>
> This is one of the last things on my 2.5 wishlist for me, I'll die a
> happy man if you can fix it :)

Nope. I don't have this hardware. Once I get my hands on that kind of
hardware I will give it a shot.

2003-07-08 22:42:57

by James Simmons

[permalink] [raw]
Subject: Re: New fbdev updates.


On Fri, 4 Jul 2003, Joshua Kwan wrote:

> On Thu, Jul 03, 2003 at 07:50:39PM -0400, Ben Collins wrote:
> > Seems my old corrupt cursor is fixed, but with your new code I am
> > getting ghost cursors left behind while moving around in vim over ssh
> > with syntax on.
>
> I am noticing too, but this is local. In fact I am seeing a bunch of
> ghost cursors as I edit this message :)

Fixed one problem but I have a few more to go :-( The soft cursor isn't
deleteing itself after it moves.


2003-07-08 23:14:47

by James Simmons

[permalink] [raw]
Subject: Re: New fbdev updates.


> Any chance of getting the radeonfb DFP-on-DVI working? I'm more than
> willing to work on it, if no one else has the hardware. I can at least
> try to get it working on the Radeon 9000.

I don't have the hardware but I'm willing to accept patches for testing
for the masses.




2003-07-09 13:42:16

by Scott Robert Ladd

[permalink] [raw]
Subject: Re: New fbdev updates.

James Simmons wrote:
>>Any chance of getting the radeonfb DFP-on-DVI working? I'm more than
>>willing to work on it, if no one else has the hardware. I can at least
>>try to get it working on the Radeon 9000.
>
> I don't have the hardware but I'm willing to accept patches for testing
> for the masses.

I'll look into it over the weekend, after seeing how XFree86 and others
have approached the problem.

--
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)